Implemented interface member:
method
StartAsync
Aspire.Cli.Projects.IAppHostServerSession.StartAsync()
25 references to StartAsync
aspire (9)
Projects\AppHostServerSession.cs (9)
15
/// (including the stop token) without launching anything; <see cref="
StartAsync
"/> launches the
98
/// <see cref="
StartAsync
"/> so callers can plumb it into the guest AppHost environment.
103
/// Gets the RPC socket path, or <see langword="null"/> if <see cref="
StartAsync
"/> has not
110
/// <see cref="
StartAsync
"/> has not been called (or threw before the process was published).
116
/// 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>
261
/// <exception cref="InvalidOperationException">Thrown if <see cref="
StartAsync
"/> has not been called.</exception>
293
/// Returns an RPC client connected to the server. Must be called after <see cref="
StartAsync
"/>.
Aspire.Cli.Tests (16)
Projects\AppHostServerSessionTests.cs (16)
43
await session.
StartAsync
();
62
await session.
StartAsync
();
86
await session.
StartAsync
();
123
await session.
StartAsync
();
154
await session.
StartAsync
();
220
await session.
StartAsync
();
250
await session.
StartAsync
();
252
await Assert.ThrowsAsync<InvalidOperationException>(session.
StartAsync
);
264
await session.
StartAsync
();
313
await session.
StartAsync
();
357
await session.
StartAsync
();
397
await session.
StartAsync
();
429
await session.
StartAsync
();
457
await session.
StartAsync
();
510
await Assert.ThrowsAsync<InvalidOperationException>(session.
StartAsync
);
607
await Assert.ThrowsAsync<InvalidOperationException>(session.
StartAsync
);