124 references to ConfigureServices
Binding.UDS.IntegrationTests (1)
ServiceHelper.cs (1)
31hostBuilder.ConfigureServices(configureServiceAction);
http2cat (1)
src\Shared\Http2cat\Http2CatIHostBuilderExtensions.cs (1)
15hostBuilder.ConfigureServices(services =>
IIS.FunctionalTests (1)
src\Shared\Http2cat\Http2CatIHostBuilderExtensions.cs (1)
15hostBuilder.ConfigureServices(services =>
IIS.LongTests (1)
src\Shared\Http2cat\Http2CatIHostBuilderExtensions.cs (1)
15hostBuilder.ConfigureServices(services =>
IIS.NewHandler.FunctionalTests (1)
src\Shared\Http2cat\Http2CatIHostBuilderExtensions.cs (1)
15hostBuilder.ConfigureServices(services =>
IIS.NewShim.FunctionalTests (1)
src\Shared\Http2cat\Http2CatIHostBuilderExtensions.cs (1)
15hostBuilder.ConfigureServices(services =>
IISExpress.FunctionalTests (1)
src\Shared\Http2cat\Http2CatIHostBuilderExtensions.cs (1)
15hostBuilder.ConfigureServices(services =>
Interop.FunctionalTests (2)
H2SpecTests.cs (1)
47.ConfigureServices(AddTestLogging);
HttpHelpers.cs (1)
95.ConfigureServices(configureServices)
Microsoft.AspNetCore.Authentication.Negotiate.Test (1)
ServerDeferralTests.cs (1)
45.ConfigureServices(services =>
Microsoft.AspNetCore.Authentication.Test (2)
OpenIdConnect\OpenIdConnectConfigurationTests.cs (1)
449.ConfigureServices(services =>
PolicyTests.cs (1)
488.ConfigureServices(services =>
Microsoft.AspNetCore.CookiePolicy.Test (3)
CookieConsentTests.cs (1)
715.ConfigureServices(services =>
CookiePolicyTests.cs (2)
381.ConfigureServices(services => 432.ConfigureServices(services =>
Microsoft.AspNetCore.DataProtection.Tests (2)
HostingTests.cs (2)
56.ConfigureServices(s => 85.ConfigureServices(s =>
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Logging\AcceptanceTests.cs (2)
116.ConfigureServices(x => 124.ConfigureServices(configure)
Microsoft.AspNetCore.Diagnostics.Tests (10)
DeveloperExceptionPageMiddlewareTest.cs (4)
31.ConfigureServices(services => 79.ConfigureServices(services => 138.ConfigureServices(services => 582.ConfigureServices(s =>
ExceptionHandlerMiddlewareTest.cs (3)
37.ConfigureServices(services => 309.ConfigureServices(s => 372.ConfigureServices(s =>
ExceptionHandlerTest.cs (3)
998.ConfigureServices(s => 1052.ConfigureServices(s => 1122.ConfigureServices(s =>
Microsoft.AspNetCore.Routing.FunctionalTests (30)
EndpointRoutingIntegrationTest.cs (10)
45.ConfigureServices(services => 77.ConfigureServices(services => 109.ConfigureServices(services => 141.ConfigureServices(services => 171.ConfigureServices(services => 202.ConfigureServices(services => 233.ConfigureServices(services => 264.ConfigureServices(services => 296.ConfigureServices(services => 332.ConfigureServices(services =>
MinimalFormTests.cs (15)
39.ConfigureServices(services => 99.ConfigureServices(services => 149.ConfigureServices(services => 188.ConfigureServices(services => 234.ConfigureServices(services => 265.ConfigureServices(services => 312.ConfigureServices(services => 408.ConfigureServices(services => 460.ConfigureServices(services => 519.ConfigureServices(services => 571.ConfigureServices(services => 623.ConfigureServices(services => 672.ConfigureServices(services => 715.ConfigureServices(services => services.AddRouting()) 742.ConfigureServices(services => services.AddRouting())
RouteHandlerTest.cs (2)
37.ConfigureServices(services => 85.ConfigureServices(services =>
ShortCircuitTests.cs (2)
42.ConfigureServices(services => 80.ConfigureServices(services =>
WebHostBuilderExtensionsTest.cs (1)
89.ConfigureServices(services => services.AddRouting())
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
src\Shared\Http2cat\Http2CatIHostBuilderExtensions.cs (1)
15hostBuilder.ConfigureServices(services =>
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
InMemoryTransportBenchmark.cs (1)
56.ConfigureServices(services => services.AddSingleton<IConnectionListenerFactory>(transportFactory))
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (7)
WebHostTests.cs (7)
72.ConfigureServices(AddTestLogging); 128.ConfigureServices(AddTestLogging); 163.ConfigureServices(AddTestLogging); 200.ConfigureServices(AddTestLogging); 238.ConfigureServices(AddTestLogging); 309.ConfigureServices(AddTestLogging); 404.ConfigureServices(AddTestLogging);
Microsoft.AspNetCore.StaticFiles.Tests (3)
StaticFileMiddlewareTests.cs (3)
26.ConfigureServices(AddTestLogging) 59.ConfigureServices(AddTestLogging) 91.ConfigureServices(AddTestLogging)
Microsoft.AspNetCore.Tests (1)
WebApplicationTests.cs (1)
1495hostBuilder.ConfigureServices(services =>
Microsoft.Extensions.Diagnostics.Probes.Tests (1)
KubernetesProbesOptionsValidatorTests.cs (1)
121.ConfigureServices(configureServices)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (4)
ResourceMonitoringExtensionsTests.cs (4)
92.ConfigureServices(services => 121.ConfigureServices(services => 165.ConfigureServices(services => 187.ConfigureServices(services =>
Microsoft.Extensions.Hosting (3)
HostingHostBuilderExtensions.cs (3)
134return hostBuilder.ConfigureServices(collection => collection.Configure(configureOptions)); 347return hostBuilder.ConfigureServices(collection => collection.AddSingleton<IHostLifetime, ConsoleLifetime>()); 363return hostBuilder.ConfigureServices(collection =>
Microsoft.Extensions.Hosting.Testing (4)
FakeHostBuilder.cs (3)
30.ConfigureServices(services => services 36_ = _builder.ConfigureServices(services => 47_builder = _builder.ConfigureServices(services => services.AddFakeRedaction());
FakeHostingExtensions.cs (1)
81return builder.ConfigureServices(services => services.AddFakeLogging(logging =>
Microsoft.Extensions.Hosting.WindowsServices (1)
WindowsServiceLifetimeHostBuilderExtensions.cs (1)
51hostBuilder.ConfigureServices(services =>
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Logging\HttpClientLoggingExtensionsTest.cs (1)
202.ConfigureServices(services =>
Microsoft.Extensions.Options.Contextual.Tests (1)
AcceptanceTests.cs (1)
85.ConfigureServices(services => services
Microsoft.Extensions.Telemetry.Tests (2)
Enrichment\ApplicationEnricherExtensionsTests.cs (1)
38.ConfigureServices(services => services.AddServiceLogEnricher())
Enrichment\ProcessEnricherExtensionsTests.cs (1)
41.ConfigureServices(services => services.AddProcessLogEnricher())
SampleStartups (1)
StartupFullControl.cs (1)
44.ConfigureServices(services =>
Sockets.BindTests (19)
SocketTransportOptionsTests.cs (1)
124.ConfigureServices(AddTestLogging)
src\Servers\Kestrel\shared\test\TransportTestHelpers\TestServer.cs (1)
110.ConfigureServices(services =>
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (17)
197.ConfigureServices(AddTestLogging); 255.ConfigureServices(AddTestLogging); 322.ConfigureServices(AddTestLogging); 380.ConfigureServices(AddTestLogging); 427.ConfigureServices(AddTestLogging); 514.ConfigureServices(AddTestLogging); 552.ConfigureServices(AddTestLogging); 587.ConfigureServices(AddTestLogging); 622.ConfigureServices(AddTestLogging); 667.ConfigureServices(AddTestLogging); 708.ConfigureServices(AddTestLogging); 754.ConfigureServices(AddTestLogging); 779.ConfigureServices(AddTestLogging); 805.ConfigureServices(AddTestLogging); 856.ConfigureServices(AddTestLogging); 915.ConfigureServices(AddTestLogging); 969.ConfigureServices(AddTestLogging);
Sockets.FunctionalTests (15)
SocketTransportTests.cs (1)
48.ConfigureServices(AddTestLogging);
src\Servers\Kestrel\shared\test\TransportTestHelpers\TestServer.cs (1)
110.ConfigureServices(services =>
src\Servers\Kestrel\test\FunctionalTests\MaxRequestBufferSizeTests.cs (1)
368.ConfigureServices(AddTestLogging)
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (8)
110.ConfigureServices(AddTestLogging); 177.ConfigureServices(AddTestLogging); 562.ConfigureServices(AddTestLogging); 608.ConfigureServices(AddTestLogging) 609.ConfigureServices(s => s.AddSingleton<IMeterFactory>(testMeterFactory)); 702.ConfigureServices(AddTestLogging) 703.ConfigureServices(s => s.AddSingleton<IMeterFactory>(testMeterFactory)); 1116.ConfigureServices(AddTestLogging);
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (2)
70.ConfigureServices(AddTestLogging); 119.ConfigureServices(AddTestLogging);
src\Servers\Kestrel\test\FunctionalTests\UnixDomainSocketsTests.cs (2)
91.ConfigureServices(AddTestLogging); 157.ConfigureServices(AddTestLogging);