Implemented interface member:
method
StartAsync
Aspire.Cli.Projects.IAppHostServerSession.StartAsync()
22 references to StartAsync
aspire (9)
Projects\AppHostServerSession.cs (9)
15
/// (including the stop token) without launching anything; <see cref="
StartAsync
"/> launches the
95
/// <see cref="
StartAsync
"/> so callers can plumb it into the guest AppHost environment.
100
/// Gets the RPC socket path, or <see langword="null"/> if <see cref="
StartAsync
"/> has not
107
/// <see cref="
StartAsync
"/> has not been called (or threw before the process was published).
113
/// if <see cref="
StartAsync
"/> has not been called (or threw before the process was
144
/// if <see cref="
StartAsync
"/> has not been called (or threw before the process was published).
156
/// <exception cref="InvalidOperationException">Thrown if <see cref="
StartAsync
"/> has already been called.</exception>
258
/// <exception cref="InvalidOperationException">Thrown if <see cref="
StartAsync
"/> has not been called.</exception>
290
/// Returns an RPC client connected to the server. Must be called after <see cref="
StartAsync
"/>.
Aspire.Cli.Tests (13)
Projects\AppHostServerSessionTests.cs (13)
42
await session.
StartAsync
();
70
await session.
StartAsync
();
107
await session.
StartAsync
();
139
await session.
StartAsync
();
180
await session.
StartAsync
();
182
await Assert.ThrowsAsync<InvalidOperationException>(session.
StartAsync
);
194
await session.
StartAsync
();
243
await session.
StartAsync
();
287
await session.
StartAsync
();
327
await session.
StartAsync
();
359
await session.
StartAsync
();
387
await session.
StartAsync
();
440
await Assert.ThrowsAsync<InvalidOperationException>(session.
StartAsync
);