16 implementations of StartAsync
aspire (1)
Telemetry\AspireCliTelemetry.cs (1)
223public Task StartAsync(CancellationToken cancellationToken)
Aspire.Dashboard (1)
ServiceClient\DashboardDataSourceInitializer.cs (1)
13public async Task StartAsync(CancellationToken cancellationToken)
Aspire.Hosting (3)
Dashboard\DashboardServiceHost.cs (1)
259async Task IHostedService.StartAsync(CancellationToken cancellationToken)
DistributedApplicationLifecycle.cs (1)
21public Task StartAsync(CancellationToken cancellationToken)
Orchestrator\OrchestratorHostService.cs (1)
32public async Task StartAsync(CancellationToken cancellationToken = default)
Aspire.Hosting.Foundry (1)
FoundryLocalService.cs (1)
370public Task StartAsync(CancellationToken cancellationToken)
Aspire.Hosting.Testing.Tests (1)
tests\Shared\DistributedApplicationTestingBuilderExtensions.cs (1)
114public Task StartAsync(CancellationToken cancellationToken) => Task.CompletedTask;
Aspire.Hosting.Tests (1)
AppHostSmokeTests.cs (1)
101public Task StartAsync(CancellationToken cancellationToken)
Aspire.Hosting.TestUtilities (1)
tests\Shared\DistributedApplicationTestingBuilderExtensions.cs (1)
114public Task StartAsync(CancellationToken cancellationToken) => Task.CompletedTask;
Microsoft.AspNetCore.Components.Testing (1)
Infrastructure\ReadinessNotificationService.cs (1)
22public 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.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.Hosting.Abstractions (1)
BackgroundService.cs (1)
40public virtual Task StartAsync(CancellationToken cancellationToken)
Nats.Backend (1)
Program.cs (1)
21public Task StartAsync(CancellationToken cancellationToken)
11 references to StartAsync
Aspire.Hosting.Tests (2)
DistributedApplicationTests.cs (2)
1451await ((IHostedService)dashboardServiceHost).StartAsync(CancellationToken.None); 1481await ((IHostedService)dashboardServiceHost).StartAsync(CancellationToken.None);
Microsoft.AspNetCore.Components.WebAssembly (1)
Hosting\HostedServiceExecutor.cs (1)
24await service.StartAsync(token);
Microsoft.AspNetCore.Hosting (1)
Internal\HostedServiceExecutor.cs (1)
21await service.StartAsync(token);
Microsoft.Extensions.Hosting (1)
Internal\Host.cs (1)
215await 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)
544.StartAsync(CancellationToken.None);