22 references to AddHostedService
Aspire.Hosting (1)
DistributedApplicationBuilder.cs (1)
254_innerBuilder.Services.AddHostedService<DcpHostService>();
http2cat (1)
src\Shared\Http2cat\Http2CatIServiceCollectionExtensions.cs (1)
16services.AddHostedService<Http2CatHostedService>();
IIS.FunctionalTests (1)
src\Shared\Http2cat\Http2CatIServiceCollectionExtensions.cs (1)
16services.AddHostedService<Http2CatHostedService>();
IIS.LongTests (1)
src\Shared\Http2cat\Http2CatIServiceCollectionExtensions.cs (1)
16services.AddHostedService<Http2CatHostedService>();
IIS.NewHandler.FunctionalTests (1)
src\Shared\Http2cat\Http2CatIServiceCollectionExtensions.cs (1)
16services.AddHostedService<Http2CatHostedService>();
IIS.NewShim.FunctionalTests (1)
src\Shared\Http2cat\Http2CatIServiceCollectionExtensions.cs (1)
16services.AddHostedService<Http2CatHostedService>();
IISExpress.FunctionalTests (1)
src\Shared\Http2cat\Http2CatIServiceCollectionExtensions.cs (1)
16services.AddHostedService<Http2CatHostedService>();
Microsoft.AspNetCore.Hosting (1)
GenericHostWebHostBuilderExtensions.cs (1)
79builder.ConfigureServices((context, services) => services.AddHostedService<GenericWebHostService>());
Microsoft.AspNetCore.Hosting.Tests (6)
Fakes\GenericWebHostBuilderWrapper.cs (1)
26_hostBuilder.ConfigureServices((context, services) => services.AddHostedService<GenericWebHostService>());
WebHostBuilderTests.cs (4)
1348services.AddHostedService<ThrowingHostedService>(); 1372services.AddHostedService<ThrowingHostedService>(); 1373services.AddHostedService<NonThrowingHostedService>(); 1402services.AddHostedService<MustBeStartedFirst>();
WebHostTests.cs (1)
551services.AddHostedService<TestHostedService>();
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
src\Shared\Http2cat\Http2CatIServiceCollectionExtensions.cs (1)
16services.AddHostedService<Http2CatHostedService>();
Microsoft.Extensions.DependencyInjection.AutoActivation (4)
AutoActivationExtensions.cs (2)
30.AddHostedService<AutoActivationHostedService>() 64.AddHostedService<AutoActivationHostedService>()
AutoActivationExtensions.Keyed.cs (2)
29.AddHostedService<AutoActivationHostedService>() 67.AddHostedService<AutoActivationHostedService>()
Microsoft.Extensions.Hosting.Testing (1)
FakeHostBuilder.cs (1)
32.AddHostedService<HostTerminatorService>());
OrderProcessor (1)
Program.cs (1)
8builder.Services.AddHostedService<OrderProcessingWorker>();
TestProject.WorkerA (1)
Program.cs (1)
7builder.Services.AddHostedService<Worker>();