5 implementations of StartAsync
Aspire.Hosting (1)
DistributedApplication.cs (1)
367Task IHost.StartAsync(CancellationToken cancellationToken) => StartAsync(cancellationToken);
Microsoft.AspNetCore (1)
WebApplication.cs (1)
160public Task StartAsync(CancellationToken cancellationToken = default) =>
Microsoft.AspNetCore.Mvc.Testing (1)
DeferredHostBuilder.cs (1)
143public async Task StartAsync(CancellationToken cancellationToken = default)
Microsoft.Extensions.Hosting (1)
Internal\Host.cs (1)
72public async Task StartAsync(CancellationToken cancellationToken = default)
Microsoft.Extensions.Hosting.Testing (1)
FakeHost.cs (1)
68public async Task StartAsync(CancellationToken cancellationToken = default)
643 references to StartAsync
Aspire.Confluent.Kafka.Tests (2)
MetricsTests.cs (2)
42await host.StartAsync(); 159await host.StartAsync();
Aspire.Hosting (2)
DistributedApplication.cs (2)
270/// <inheritdoc cref="IHost.StartAsync" /> 274await _host.StartAsync(cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure.Tests (5)
AzureCosmosDBEmulatorFunctionalTests.cs (3)
99await host.StartAsync(); 175await host.StartAsync(); 221await host.StartAsync();
AzureEventHubsExtensionsTests.cs (1)
83await host.StartAsync();
AzureStorageEmulatorFunctionalTests.cs (1)
82await host.StartAsync();
Aspire.Hosting.Elasticsearch.Tests (3)
ElasticsearchFunctionalTests.cs (3)
53await host.StartAsync(); 116await host.StartAsync(); 161await host.StartAsync();
Aspire.Hosting.Garnet.Tests (3)
GarnetFunctionalTests.cs (3)
84await host.StartAsync(); 163await host.StartAsync(); 214await host.StartAsync();
Aspire.Hosting.Kafka.Tests (3)
KafkaFunctionalTests.cs (3)
87await host.StartAsync(); 175await host.StartAsync(); 231await host.StartAsync();
Aspire.Hosting.Milvus.Tests (3)
MilvusFunctionalTests.cs (3)
42await host.StartAsync(); 116await host.StartAsync(); 164await host.StartAsync();
Aspire.Hosting.MongoDB.Tests (4)
MongoDbFunctionalTests.cs (4)
95await host.StartAsync(); 155await host.StartAsync(); 202await host.StartAsync(); 323await host.StartAsync();
Aspire.Hosting.MySql.Tests (5)
MySqlFunctionalTests.cs (5)
100await host.StartAsync(); 173await host.StartAsync(); 243await host.StartAsync(); 349await host.StartAsync(); 419await host.StartAsync();
Aspire.Hosting.Nats.Tests (5)
NatsFunctionalTests.cs (5)
53await host.StartAsync(); 97await host.StartAsync(); 145await host.StartAsync(); 204await host.StartAsync(); 251await host.StartAsync();
Aspire.Hosting.Oracle.Tests (4)
OracleFunctionalTests.cs (4)
58await host.StartAsync(); 141await host.StartAsync(); 202await host.StartAsync(); 318await host.StartAsync();
Aspire.Hosting.PostgreSQL.Tests (4)
PostgresFunctionalTests.cs (4)
130await host.StartAsync(); 246await host.StartAsync(); 307await host.StartAsync(); 399await host.StartAsync();
Aspire.Hosting.Qdrant.Tests (3)
QdrantFunctionalTests.cs (3)
53await host.StartAsync(); 137await host.StartAsync(); 182await host.StartAsync();
Aspire.Hosting.RabbitMQ.Tests (3)
RabbitMQFunctionalTests.cs (3)
79await host.StartAsync(); 140await host.StartAsync(); 197await host.StartAsync();
Aspire.Hosting.Redis.Tests (7)
RedisFunctionalTests.cs (7)
112await host.StartAsync(); 323await host.StartAsync(); 359await host.StartAsync(); 409await host.StartAsync(); 444await host.StartAsync(); 493await host.StartAsync(); 523await host.StartAsync();
Aspire.Hosting.SqlServer.Tests (3)
SqlServerFunctionalTests.cs (3)
88await host.StartAsync(); 192await host1.StartAsync(); 274await host2.StartAsync();
Aspire.Hosting.Valkey.Tests (3)
ValkeyFunctionalTests.cs (3)
43await host.StartAsync(); 104await host.StartAsync(); 155await host.StartAsync();
Diagnostics.EFCore.FunctionalTests (11)
DatabaseErrorPageMiddlewareTest.cs (5)
39await host.StartAsync(); 76await host.StartAsync(); 358await host.StartAsync(); 395await host.StartAsync(); 548await host.StartAsync();
MigrationsEndPointMiddlewareTest.cs (6)
36await host.StartAsync(); 111await host.StartAsync(); 155await host.StartAsync(); 183await host.StartAsync(); 213await host.StartAsync(); 252await host.StartAsync();
Interop.FunctionalTests (44)
H2SpecTests.cs (1)
51await host.StartAsync();
Http2\Http2RequestTests.cs (5)
61await host.StartAsync(); 122await host.StartAsync(); 179await host.StartAsync(); 207await host.StartAsync().DefaultTimeout(); 267await host.StartAsync().DefaultTimeout();
Http3\Http3RequestTests.cs (30)
85await host.StartAsync(); 146await host.StartAsync().DefaultTimeout(); 248await host.StartAsync(); 289await host.StartAsync(); 338await host.StartAsync(); 413await host.StartAsync().DefaultTimeout(); 483await host.StartAsync().DefaultTimeout(); 555await host.StartAsync().DefaultTimeout(); 613await host.StartAsync().DefaultTimeout(); 673await host.StartAsync().DefaultTimeout(); 720await host.StartAsync().DefaultTimeout(); 775await host.StartAsync(); 848await host.StartAsync(); 908await host.StartAsync(); 1008await host.StartAsync().DefaultTimeout(); 1105await host.StartAsync().DefaultTimeout(); 1253await host.StartAsync().DefaultTimeout(); 1314await host.StartAsync().DefaultTimeout(); 1366await host.StartAsync(); 1419await host.StartAsync(); 1485await host.StartAsync(); 1538await host.StartAsync(); 1598await host.StartAsync(); 1658await host.StartAsync(); 1711await host.StartAsync(); 1775await host.StartAsync(); 1880await host.StartAsync().DefaultTimeout(); 1957await host.StartAsync(); 2034await host.StartAsync().DefaultTimeout(); 2134await host.StartAsync().DefaultTimeout();
Http3\Http3TlsTests.cs (8)
54await host.StartAsync().DefaultTimeout(); 101await host.StartAsync().DefaultTimeout(); 143await host.StartAsync().DefaultTimeout(); 192await host.StartAsync().DefaultTimeout(); 242await host.StartAsync().DefaultTimeout(); 282host.StartAsync().DefaultTimeout()); 320await host.StartAsync().DefaultTimeout(); 468await host.StartAsync().DefaultTimeout();
Microsoft.AspNetCore (1)
WebApplication.cs (1)
161_host.StartAsync(cancellationToken);
Microsoft.AspNetCore.Authentication.Test (36)
AuthenticationMiddlewareTests.cs (1)
54await host.StartAsync();
CertificateTests.cs (1)
899await host.StartAsync();
CookieTests.cs (15)
1247await host.StartAsync(); 1283await host.StartAsync(); 1309await host.StartAsync(); 1337await host.StartAsync(); 1361await host.StartAsync(); 1383await host.StartAsync(); 1409await host.StartAsync(); 1431await host.StartAsync(); 1457await host.StartAsync(); 1482await host.StartAsync(); 1624await host.StartAsync(); 1655await host1.StartAsync(); 1679await host2.StartAsync(); 1724await host.StartAsync(); 1879await host.StartAsync();
DynamicSchemeTests.cs (1)
173await host.StartAsync();
FacebookTests.cs (1)
474await host.StartAsync();
GoogleTests.cs (1)
1240await host.StartAsync();
JwtBearerTests.cs (2)
906await host.StartAsync(); 1243await host.StartAsync();
JwtBearerTests_Handler.cs (2)
851await host.StartAsync(); 1302await host.StartAsync();
MicrosoftAccountTests.cs (1)
421await host.StartAsync();
OAuthTests.cs (1)
529await host.StartAsync();
OpenIdConnect\OpenIdConnectConfigurationTests.cs (1)
464await host.StartAsync();
PolicyTests.cs (1)
496await host.StartAsync();
RemoteAuthenticationTests.cs (1)
52await host.StartAsync();
TwitterTests.cs (1)
588await host.StartAsync();
WsFederation\WsFederationTest.cs (3)
60await host.StartAsync(); 230await host.StartAsync(); 360await host.StartAsync();
WsFederation\WsFederationTest_Handler.cs (3)
58await host.StartAsync(); 228await host.StartAsync(); 356await host.StartAsync();
Microsoft.AspNetCore.CookiePolicy.Test (7)
CookieConsentTests.cs (1)
723await host.StartAsync();
CookiePolicyTests.cs (6)
270await host.StartAsync(); 309await host.StartAsync(); 351await host.StartAsync(); 394await host.StartAsync(); 445await host.StartAsync(); 545await host.StartAsync();
Microsoft.AspNetCore.Cors.Test (11)
CorsMiddlewareTests.cs (11)
45await host.StartAsync(); 87await host.StartAsync(); 138await host.StartAsync(); 187await host.StartAsync(); 252await host.StartAsync(); 315await host.StartAsync(); 331await host.StartAsync(); 358await host.StartAsync(); 474await host.StartAsync(); 532await host.StartAsync(); 608await host.StartAsync();
Microsoft.AspNetCore.DataProtection.Tests (2)
HostingTests.cs (2)
66await host.StartAsync(); 94await host.StartAsync();
Microsoft.AspNetCore.Diagnostics.HealthChecks.Tests (31)
HealthCheckEndpointRouteBuilderExtensionsTest.cs (2)
71await host.StartAsync(); 116await host.StartAsync();
HealthCheckMiddlewareSampleTest.cs (4)
24await host.StartAsync(); 46await host.StartAsync(); 69await host.StartAsync(); 91await host.StartAsync();
HealthCheckMiddlewareTests.cs (25)
60await host.StartAsync(); 87await host.StartAsync(); 114await host.StartAsync(); 144await host.StartAsync(); 177await host.StartAsync(); 210await host.StartAsync(); 243await host.StartAsync(); 276await host.StartAsync(); 322await host.StartAsync(); 359await host.StartAsync(); 394await host.StartAsync(); 423await host.StartAsync(); 458await host.StartAsync(); 497await host.StartAsync(); 527await host.StartAsync(); 557await host.StartAsync(); 585await host.StartAsync(); 615await host.StartAsync(); 650await host.StartAsync(); 687await host.StartAsync(); 725await host.StartAsync(); 763await host.StartAsync(); 801await host.StartAsync(); 843await host.StartAsync(); 887await host.StartAsync();
Microsoft.AspNetCore.Diagnostics.Tests (39)
DeveloperExceptionPageMiddlewareTest.cs (14)
59await host.StartAsync(); 112await host.StartAsync(); 171await host.StartAsync(); 213await host.StartAsync(); 248await host.StartAsync(); 285await host.StartAsync(); 323await host.StartAsync(); 358await host.StartAsync(); 395await host.StartAsync(); 431await host.StartAsync(); 441await host.StartAsync(); 469await host.StartAsync(); 557await host.StartAsync(); 601await host.StartAsync();
ExceptionHandlerMiddlewareTest.cs (3)
65await host.StartAsync(); 333await host.StartAsync(); 400await host.StartAsync();
ExceptionHandlerTest.cs (16)
56await host.StartAsync(); 111await host.StartAsync(); 177await host.StartAsync(); 233await host.StartAsync(); 288await host.StartAsync(); 360await host.StartAsync(); 430await host.StartAsync(); 484await host.StartAsync(); 594await host.StartAsync(); 643await host.StartAsync(); 684await host.StartAsync(); 723await host.StartAsync(); 764await host.StartAsync(); 1023await host.StartAsync(); 1093await host.StartAsync(); 1156await host.StartAsync();
StatusCodeMiddlewareTest.cs (6)
55await host.StartAsync(); 123await host.StartAsync(); 185await host.StartAsync(); 240await host.StartAsync(); 345await host.StartAsync(); 383await host.StartAsync();
Microsoft.AspNetCore.HeaderPropagation.Tests (3)
HeaderPropagationIntegrationTest.cs (3)
56await host.StartAsync(); 164var exception = await Assert.ThrowsAsync<InvalidOperationException>(() => host.StartAsync()); 223await host.StartAsync();
Microsoft.AspNetCore.HostFiltering.Tests (6)
HostFilteringMiddlewareTests.cs (6)
32await host.StartAsync(); 71await host.StartAsync(); 114await host.StartAsync(); 165await host.StartAsync(); 217await host.StartAsync(); 256await host.StartAsync();
Microsoft.AspNetCore.Hosting.Tests (1)
Fakes\GenericWebHost.cs (1)
28public Task StartAsync(CancellationToken cancellationToken = default) => _host.StartAsync(cancellationToken);
Microsoft.AspNetCore.Http.Connections.Tests (1)
MapConnectionHandlerTests.cs (1)
394await host.StartAsync();
Microsoft.AspNetCore.HttpLogging.Tests (11)
HttpLoggingMiddlewareTests.cs (11)
1727await app.StartAsync(); 1742await app.StartAsync(); 1757await app.StartAsync(); 1772await app.StartAsync(); 1798await app.StartAsync(); 1817await app.StartAsync(); 1832await app.StartAsync(); 1847await app.StartAsync(); 1862await app.StartAsync(); 1888await app.StartAsync(); 1934await host.StartAsync();
Microsoft.AspNetCore.HttpOverrides.Tests (40)
CertificateForwardingTest.cs (5)
65await host.StartAsync(); 104await host.StartAsync(); 142await host.StartAsync(); 180await host.StartAsync(); 218await host.StartAsync();
ForwardedHeadersMiddlewareTest.cs (29)
34await host.StartAsync(); 70await host.StartAsync(); 128await host.StartAsync(); 166await host.StartAsync(); 239await host.StartAsync(); 271await host.StartAsync(); 300await host.StartAsync(); 372await host.StartAsync(); 457await host.StartAsync(); 508await host.StartAsync(); 559await host.StartAsync(); 595await host.StartAsync(); 630await host.StartAsync(); 684await host.StartAsync(); 741await host.StartAsync(); 779await host.StartAsync(); 821await host.StartAsync(); 871await host.StartAsync(); 912await host.StartAsync(); 947await host.StartAsync(); 982await host.StartAsync(); 1036await host.StartAsync(); 1075await host.StartAsync(); 1112await host.StartAsync(); 1151await host.StartAsync(); 1193await host.StartAsync(); 1229await host.StartAsync(); 1273await host.StartAsync(); 1319await host.StartAsync();
HttpMethodOverrideMiddlewareTest.cs (6)
35await host.StartAsync(); 66await host.StartAsync(); 96await host.StartAsync(); 129await host.StartAsync(); 167await host.StartAsync(); 204await host.StartAsync();
Microsoft.AspNetCore.HttpsPolicy.Tests (18)
HstsMiddlewareTests.cs (8)
60await host.StartAsync(); 107await host.StartAsync(); 153await host.StartAsync(); 198await host.StartAsync(); 253await host.StartAsync(); 308await host.StartAsync(); 355await host.StartAsync(); 402await host.StartAsync();
HttpsPolicyTests.cs (1)
59await host.StartAsync();
HttpsRedirectionMiddlewareTests.cs (9)
46await host.StartAsync(); 101await host.StartAsync(); 157await host.StartAsync(); 220await host.StartAsync(); 261await host.StartAsync(); 306await host.StartAsync(); 348await host.StartAsync(); 396await host.StartAsync(); 441await host.StartAsync();
Microsoft.AspNetCore.Identity.InMemory.Test (1)
FunctionalTest.cs (1)
399await host.StartAsync();
Microsoft.AspNetCore.Localization.FunctionalTests (2)
LocalizationSampleTest.cs (1)
27await host.StartAsync();
LocalizationTest.cs (1)
106await host.StartAsync();
Microsoft.AspNetCore.Localization.Routing.Tests (3)
RouteDataRequestCultureProviderTest.cs (3)
79await host.StartAsync(); 125await host.StartAsync(); 201await host.StartAsync();
Microsoft.AspNetCore.Localization.Tests (19)
AcceptLanguageHeaderRequestCultureProviderTest.cs (4)
44await host.StartAsync(); 85await host.StartAsync(); 125await host.StartAsync(); 171await host.StartAsync();
CookieRequestCultureProviderTest.cs (5)
58await host.StartAsync(); 110await host.StartAsync(); 159await host.StartAsync(); 208await host.StartAsync(); 268await host.StartAsync();
CustomRequestCultureProviderTest.cs (1)
55await host.StartAsync();
QueryStringRequestCultureProviderTest.cs (8)
48await host.StartAsync(); 82await host.StartAsync(); 123await host.StartAsync(); 164await host.StartAsync(); 206await host.StartAsync(); 248await host.StartAsync(); 295await host.StartAsync(); 343await host.StartAsync();
RequestLocalizationMiddlewareTest.cs (1)
61await host.StartAsync();
Microsoft.AspNetCore.MiddlewareAnalysis.Tests (1)
MiddlewareAnalysisTests.cs (1)
38await host.StartAsync();
Microsoft.AspNetCore.OutputCaching.Tests (41)
OutputCacheTests.cs (41)
25await host.StartAsync(); 47await host.StartAsync(); 67await host.StartAsync(); 87await host.StartAsync(); 107await host.StartAsync(); 129await host.StartAsync(); 160await host.StartAsync(); 191await host.StartAsync(); 214await host.StartAsync(); 241await host.StartAsync(); 264await host.StartAsync(); 292await host.StartAsync(); 313await host.StartAsync(); 337await host.StartAsync(); 362await host.StartAsync(); 385await host.StartAsync(); 408await host.StartAsync(); 431await host.StartAsync(); 454await host.StartAsync(); 476await host.StartAsync(); 499await host.StartAsync(); 521await host.StartAsync(); 543await host.StartAsync(); 563await host.StartAsync(); 587await host.StartAsync(); 612await host.StartAsync(); 632await host.StartAsync(); 656await host.StartAsync(); 680await host.StartAsync(); 706await host.StartAsync(); 729await host.StartAsync(); 755await host.StartAsync(); 778await host.StartAsync(); 805await host.StartAsync(); 828await host.StartAsync(); 851await host.StartAsync(); 871await host.StartAsync(); 895await host.StartAsync(); 928await host.StartAsync(); 948await host.StartAsync(); 977await host.StartAsync();
Microsoft.AspNetCore.RequestDecompression.Tests (6)
RequestDecompressionMiddlewareTests.cs (6)
234await host.StartAsync(); 305await host.StartAsync(); 381await host.StartAsync(); 483await host.StartAsync(); 567await host.StartAsync(); 718await host.StartAsync();
Microsoft.AspNetCore.ResponseCaching.Tests (37)
ResponseCachingTests.cs (37)
24await host.StartAsync(); 48await host.StartAsync(); 70await host.StartAsync(); 92await host.StartAsync(); 114await host.StartAsync(); 138await host.StartAsync(); 171await host.StartAsync(); 204await host.StartAsync(); 228await host.StartAsync(); 252await host.StartAsync(); 275await host.StartAsync(); 298await host.StartAsync(); 322await host.StartAsync(); 344await host.StartAsync(); 366await host.StartAsync(); 388await host.StartAsync(); 410await host.StartAsync(); 432await host.StartAsync(); 454await host.StartAsync(); 476await host.StartAsync(); 498await host.StartAsync(); 524await host.StartAsync(); 551await host.StartAsync(); 573await host.StartAsync(); 599await host.StartAsync(); 625await host.StartAsync(); 652await host.StartAsync(); 677await host.StartAsync(); 705await host.StartAsync(); 730await host.StartAsync(); 756await host.StartAsync(); 781await host.StartAsync(); 806await host.StartAsync(); 828await host.StartAsync(); 854await host.StartAsync(); 889await host.StartAsync(); 924await host.StartAsync();
Microsoft.AspNetCore.ResponseCompression.Tests (17)
ResponseCompressionMiddlewareTest.cs (17)
172await host.StartAsync(); 330await host.StartAsync(); 467await host.StartAsync(); 530await host.StartAsync(); 593await host.StartAsync(); 647await host.StartAsync(); 693await host.StartAsync(); 745await host.StartAsync(); 798await host.StartAsync(); 868await host.StartAsync(); 932await host.StartAsync(); 996await host.StartAsync(); 1057await host.StartAsync(); 1107await host.StartAsync(); 1157await host.StartAsync(); 1207await host.StartAsync(); 1273await host.StartAsync();
Microsoft.AspNetCore.Rewrite.Tests (65)
ApacheModRewrite\ModRewriteMiddlewareTest.cs (17)
31await host.StartAsync(); 57await host.StartAsync(); 83await host.StartAsync(); 108await host.StartAsync(); 133await host.StartAsync(); 158await host.StartAsync(); 183await host.StartAsync(); 210await host.StartAsync(); 241await host.StartAsync(); 267await host.StartAsync(); 293await host.StartAsync(); 319await host.StartAsync(); 346await host.StartAsync(); 374await host.StartAsync(); 402await host.StartAsync(); 428await host.StartAsync(); 458await host.StartAsync();
IISUrlRewrite\MiddleWareTests.cs (20)
41await host.StartAsync(); 73await host.StartAsync(); 109await host.StartAsync(); 141await host.StartAsync(); 176await host.StartAsync(); 211await host.StartAsync(); 245await host.StartAsync(); 285await host.StartAsync(); 322await host.StartAsync(); 359await host.StartAsync(); 393await host.StartAsync(); 427await host.StartAsync(); 466await host.StartAsync(); 502await host.StartAsync(); 538await host.StartAsync(); 575await host.StartAsync(); 612await host.StartAsync(); 657await host.StartAsync(); 688await host.StartAsync(); 744await host.StartAsync();
MiddlewareTests.cs (28)
37await host.StartAsync(); 67await host.StartAsync(); 99await host.StartAsync(); 131await host.StartAsync(); 164await host.StartAsync(); 198await host.StartAsync(); 222await host.StartAsync(); 250await host.StartAsync(); 277await host.StartAsync(); 319await host.StartAsync(); 351await host.StartAsync(); 377await host.StartAsync(); 404await host.StartAsync(); 433await host.StartAsync(); 462await host.StartAsync(); 487await host.StartAsync(); 522await host.StartAsync(); 550await host.StartAsync(); 579await host.StartAsync(); 604await host.StartAsync(); 629await host.StartAsync(); 665await host.StartAsync(); 692await host.StartAsync(); 719await host.StartAsync(); 749await host.StartAsync(); 777await host.StartAsync(); 802await host.StartAsync(); 831await host.StartAsync();
Microsoft.AspNetCore.Routing.FunctionalTests (30)
EndpointRoutingIntegrationTest.cs (10)
54await host.StartAsync(); 86await host.StartAsync(); 118await host.StartAsync(); 150await host.StartAsync(); 179await host.StartAsync(); 211await host.StartAsync(); 242await host.StartAsync(); 273await host.StartAsync(); 305await host.StartAsync(); 341await host.StartAsync();
MinimalFormTests.cs (15)
47await host.StartAsync(); 107await host.StartAsync(); 157await host.StartAsync(); 196await host.StartAsync(); 241await host.StartAsync(); 273await host.StartAsync(); 320await host.StartAsync(); 416await host.StartAsync(); 468await host.StartAsync(); 527await host.StartAsync(); 579await host.StartAsync(); 631await host.StartAsync(); 680await host.StartAsync(); 720await host.StartAsync(); 747await host.StartAsync();
RouteHandlerTest.cs (2)
44await host.StartAsync(); 92await host.StartAsync();
ShortCircuitTests.cs (2)
50await host.StartAsync(); 88await host.StartAsync();
WebHostBuilderExtensionsTest.cs (1)
93await host.StartAsync();
Microsoft.AspNetCore.Server.IISIntegration.Tests (13)
IISExtensionTests.cs (1)
37await host.StartAsync();
IISMiddlewareTests.cs (12)
52await host.StartAsync(); 90await host.StartAsync(); 132await host.StartAsync(); 191await host.StartAsync(); 236await host.StartAsync(); 281await host.StartAsync(); 318await host.StartAsync(); 347await host.StartAsync(); 381await host.StartAsync(); 422await host.StartAsync(); 479await host.StartAsync(); 524await host.StartAsync();
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (7)
WebHostTests.cs (7)
77await host.StartAsync(); 131await host.StartAsync().DefaultTimeout(); 166await host.StartAsync().DefaultTimeout(); 203await host.StartAsync().DefaultTimeout(); 241await host.StartAsync().DefaultTimeout(); 312await host.StartAsync().DefaultTimeout(); 409var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => host.StartAsync()).DefaultTimeout();
Microsoft.AspNetCore.Session.Tests (21)
SessionTests.cs (21)
50await host.StartAsync(); 87await host.StartAsync(); 142await host.StartAsync(); 193await host.StartAsync(); 253await host.StartAsync(); 311await host.StartAsync(); 357await host.StartAsync(); 415await host.StartAsync(); 485await host.StartAsync(); 541await host.StartAsync(); 591await host.StartAsync(); 627await host.StartAsync(); 672await host.StartAsync(); 721await host.StartAsync(); 770await host.StartAsync(); 818await host.StartAsync(); 870await host.StartAsync(); 933await host.StartAsync(); 999await host.StartAsync(); 1064await host.StartAsync(); 1116await host.StartAsync();
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
src\Shared\SignalR\InProcessTestServer.cs (1)
118await _host.StartAsync(cts.Token);
Microsoft.AspNetCore.StaticFiles.FunctionalTests (8)
FallbackStaticFileTest.cs (2)
54await host.StartAsync(); 103await host.StartAsync();
StaticFileMiddlewareTests.cs (6)
34await host.StartAsync(); 79await host.StartAsync(); 104await host.StartAsync(); 152await host.StartAsync(); 194await host.StartAsync(); 279await host.StartAsync();
Microsoft.AspNetCore.StaticFiles.Tests (4)
StaticFileMiddlewareTests.cs (3)
34await host.StartAsync(); 68await host.StartAsync(); 108await host.StartAsync();
StaticFilesTestServer.cs (1)
34await host.StartAsync();
Microsoft.AspNetCore.TestHost.Tests (1)
TestServerTests.cs (1)
37await host.StartAsync();
Microsoft.AspNetCore.Testing.Tests (1)
FakesExtensionsTests.cs (1)
36Assert.Null(await Record.ExceptionAsync(() => host.StartAsync()));
Microsoft.Extensions.Hosting (1)
HostOptions.cs (1)
27/// Gets or sets the default timeout for <see cref="IHost.StartAsync(CancellationToken)"/>.
Microsoft.Extensions.Hosting.Abstractions (4)
HostingAbstractionsHostBuilderExtensions.cs (1)
33await host.StartAsync(cancellationToken).ConfigureAwait(false);
HostingAbstractionsHostExtensions.cs (2)
22host.StartAsync().GetAwaiter().GetResult(); 67await host.StartAsync(token).ConfigureAwait(false);
IHostLifetime.cs (1)
15/// Called at the start of <see cref="IHost.StartAsync(CancellationToken)"/> which will wait until it's complete before
Microsoft.Extensions.Hosting.Systemd (1)
SystemdLifetime.cs (1)
65/// Asynchronously waits until the start operation is complete before continuing. This method is called at the beginning of <see cref="IHost.StartAsync(CancellationToken)" />. This can be used to delay startup until signaled by an external event.
Microsoft.Extensions.Hosting.Testing (2)
FakeHost.cs (2)
74await _host.StartAsync(cancellationTokenSource.Token).ConfigureAwait(false); 81await _host.StartAsync(linkedTokenSource.Token).ConfigureAwait(false);
Microsoft.Extensions.Hosting.Testing.Tests (3)
FakeHostTests.cs (3)
44.Setup(x => x.StartAsync(It.Is<CancellationToken>(y => y != default))) 62.Setup(x => x.StartAsync(It.Is<CancellationToken>(y => y != tokenSource.Token))) 81.Setup(x => x.StartAsync(It.Is<CancellationToken>(y => y != cancellationTokenSource.Token)))
Microsoft.Extensions.Hosting.WindowsServices (1)
WindowsServiceLifetime.cs (1)
67/// Asynchronously waits until start is complete before continuing. This method is called at the beginning of <see cref="IHost.StartAsync(CancellationToken)" />. This can be used to delay startup until signaled by an external event.
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Logging\HttpClientLoggingExtensionsTest.cs (1)
215var act = async () => await host.StartAsync().ConfigureAwait(false);
Negotiate.Server (2)
Program.cs (2)
17await host1.StartAsync(); 18await host2.StartAsync();
SampleStartups (1)
StartupBlockingOnStart.cs (1)
49await host.StartAsync();
Sockets.BindTests (13)
SocketTransportOptionsTests.cs (1)
42await host.StartAsync();
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (12)
326await host.StartAsync(); 384await host.StartAsync(); 431await host.StartAsync(); 518await host.StartAsync(); 626await host.StartAsync(); 671await host.StartAsync(); 712await host.StartAsync(); 809await host.StartAsync(); 829await host.StartAsync(); 860await host.StartAsync(); 882await host.StartAsync(); 919await host.StartAsync();
Sockets.FunctionalTests (12)
SocketTransportTests.cs (1)
53await host.StartAsync();
src\Servers\Kestrel\test\FunctionalTests\MaxRequestBufferSizeTests.cs (1)
371await host.StartAsync();
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (6)
114await host.StartAsync(); 182await host.StartAsync(); 566await host.StartAsync(); 613await host.StartAsync(); 707await host.StartAsync(); 1121await host.StartAsync();
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (2)
74await host.StartAsync(); 123await host.StartAsync();
src\Servers\Kestrel\test\FunctionalTests\UnixDomainSocketsTests.cs (2)
95await host.StartAsync().DefaultTimeout(); 161await host.StartAsync().DefaultTimeout();