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)
43await session.StartAsync(); 62await session.StartAsync(); 86await session.StartAsync(); 123await session.StartAsync(); 154await session.StartAsync(); 220await session.StartAsync(); 250await session.StartAsync(); 252await Assert.ThrowsAsync<InvalidOperationException>(session.StartAsync); 264await session.StartAsync(); 313await session.StartAsync(); 357await session.StartAsync(); 397await session.StartAsync(); 429await session.StartAsync(); 457await session.StartAsync(); 510await Assert.ThrowsAsync<InvalidOperationException>(session.StartAsync); 607await Assert.ThrowsAsync<InvalidOperationException>(session.StartAsync);