2 implementations of StartAsync
Microsoft.AspNetCore.Hosting (1)
Internal\WebHost.cs (1)
124public async Task StartAsync(CancellationToken cancellationToken = default)
Microsoft.AspNetCore.Hosting.Tests (1)
Fakes\GenericWebHost.cs (1)
28public Task StartAsync(CancellationToken cancellationToken = default) => _host.StartAsync(cancellationToken);
54 references to StartAsync
Aspire.Dashboard.Tests (1)
Integration\MockOpenIdAuthority.cs (1)
112await webHost.StartAsync();
Interop.FunctionalTests (1)
Http3\Http3TlsTests.cs (1)
387await host.StartAsync();
Microsoft.AspNetCore.DataProtection.Tests (1)
HostingTests.cs (1)
39await host.StartAsync();
Microsoft.AspNetCore.Hosting (1)
WebHostExtensions.cs (1)
112await host.StartAsync(token);
Microsoft.AspNetCore.Hosting.Abstractions (1)
HostingAbstractionsWebHostBuilderExtensions.cs (1)
175host.StartAsync(CancellationToken.None).GetAwaiter().GetResult();
Microsoft.AspNetCore.Hosting.Tests (41)
WebHostBuilderTests.cs (17)
46await host.StartAsync(); 59await host.StartAsync(); 103await host.StartAsync(); 124await host.StartAsync(); 137await host.StartAsync(); 150await host.StartAsync(); 163await host.StartAsync(); 180await host.StartAsync(); 193await host.StartAsync(); 312await host.StartAsync(); 862await host.StartAsync(); 987await host.StartAsync(); 1208await host.StartAsync(); 1305await host.StartAsync(); 1354var startEx = await Assert.ThrowsAsync<InvalidOperationException>(() => host.StartAsync()); 1379var startEx = await Assert.ThrowsAsync<InvalidOperationException>(() => host.StartAsync()); 1407await host.StartAsync();
WebHostTests.AsyncDisposable.cs (1)
22await host.StartAsync();
WebHostTests.cs (23)
27var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => CreateBuilder().Build().StartAsync()); 42await host.StartAsync(); 61await host.StartAsync(); 100await host.StartAsync(); 131await host.StartAsync(); 221await host.StartAsync(); 260await host.StartAsync(); 296await host.StartAsync(); 382await host.StartAsync(); 417await host.StartAsync(); 443await host.StartAsync(); 471await Assert.ThrowsAsync<InvalidOperationException>(() => host.StartAsync()); 511await host.StartAsync(); 534await host.StartAsync(); 602await host.StartAsync(); 654await host.StartAsync(); 691await Assert.ThrowsAsync<InvalidOperationException>(() => host.StartAsync()); 713await host.StartAsync(); 864await host.StartAsync(); 889await host.StartAsync(); 917await host.StartAsync(); 929await host.StartAsync(); 954await host.StartAsync();
Microsoft.AspNetCore.Server.Kestrel.Tests (6)
HttpsConfigurationTests.cs (6)
51await host.StartAsync(); 111await host.StartAsync(); 142await host.StartAsync(); 181await host.StartAsync(); 205await host.StartAsync(); 231await host.StartAsync();
Microsoft.AspNetCore.TestHost (1)
TestServer.cs (1)
98host.StartAsync().GetAwaiter().GetResult();
Microsoft.AspNetCore.Tests (1)
WebHostTests.cs (1)
79await host.StartAsync();