21 implementations of StartAsync
Aspire.Hosting (2)
Dashboard\DashboardServiceHost.cs (1)
197async Task IHostedService.StartAsync(CancellationToken cancellationToken)
Dcp\DcpHostService.cs (1)
63public async Task StartAsync(CancellationToken cancellationToken = default)
http2cat (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
43public Task StartAsync(CancellationToken cancellationToken)
IIS.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
43public Task StartAsync(CancellationToken cancellationToken)
IIS.LongTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
43public Task StartAsync(CancellationToken cancellationToken)
IIS.NewHandler.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
43public Task StartAsync(CancellationToken cancellationToken)
IIS.NewShim.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
43public Task StartAsync(CancellationToken cancellationToken)
IISExpress.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
43public Task StartAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.DataProtection (1)
Internal\DataProtectionHostedService.cs (1)
29public Task StartAsync(CancellationToken token)
Microsoft.AspNetCore.Hosting (1)
GenericHost\GenericWebHostService.cs (1)
62public async Task StartAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.Hosting.Tests (5)
WebHostBuilderTests.cs (3)
1432public Task StartAsync(CancellationToken cancellationToken) 1528public Task StartAsync(CancellationToken cancellationToken) 1544public Task StartAsync(CancellationToken cancellationToken)
WebHostTests.cs (2)
1162public Task StartAsync(CancellationToken token) 1193public Task StartAsync(CancellationToken token)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
43public Task StartAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.Tests (1)
WebApplicationTests.cs (1)
313public Task StartAsync(CancellationToken cancellationToken)
Microsoft.Extensions.DependencyInjection.AutoActivation (1)
AutoActivationHostedService.cs (1)
24public Task StartAsync(CancellationToken cancellationToken)
Microsoft.Extensions.Diagnostics.HealthChecks (1)
HealthCheckPublisherHostedService.cs (1)
62public Task StartAsync(CancellationToken cancellationToken = default)
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (1)
DependencyInjection\ServiceCollectionExtensionsTest.cs (1)
85public Task StartAsync(CancellationToken cancellationToken)
Microsoft.Extensions.Hosting.Abstractions (1)
BackgroundService.cs (1)
40public virtual Task StartAsync(CancellationToken cancellationToken)
8 references to StartAsync
Microsoft.AspNetCore.Hosting (1)
Internal\HostedServiceExecutor.cs (1)
21await service.StartAsync(token);
Microsoft.Extensions.Hosting (1)
Internal\Host.cs (1)
125await service.StartAsync(token).ConfigureAwait(false);
Microsoft.Extensions.Hosting.Abstractions (3)
IHostedLifecycleService.cs (3)
11/// <see cref="IHostedService.StartAsync(CancellationToken)"/> and 17/// Triggered before <see cref="IHostedService.StartAsync(CancellationToken)"/>. 24/// Triggered after <see cref="IHostedService.StartAsync(CancellationToken)"/>.
Microsoft.Extensions.Hosting.Testing (1)
FakeHostingExtensions.cs (1)
38await service.StartAsync(cancellationToken).ConfigureAwait(false);
Microsoft.Extensions.Hosting.Testing.Tests (1)
HostingFakesExtensionsTests.cs (1)
31serviceMock.Setup(x => x.StartAsync(tokenSource.Token)).Returns(Task.CompletedTask);
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Logging\HttpClientLoggingExtensionsTest.cs (1)
327.StartAsync(CancellationToken.None);