5 implementations of ConfigureServices
Microsoft.AspNetCore (1)
ConfigureWebHostBuilder.cs (1)
96public IWebHostBuilder ConfigureServices(Action<IServiceCollection> configureServices)
Microsoft.AspNetCore.Hosting (3)
GenericHost\HostingStartupWebHostBuilder.cs (1)
37public IWebHostBuilder ConfigureServices(Action<IServiceCollection> configureServices)
GenericHost\WebHostBuilderBase.cs (1)
45public IWebHostBuilder ConfigureServices(Action<IServiceCollection> configureServices)
WebHostBuilder.cs (1)
92public IWebHostBuilder ConfigureServices(Action<IServiceCollection> configureServices)
Microsoft.AspNetCore.Hosting.Tests (1)
Fakes\GenericWebHostBuilderWrapper.cs (1)
48public IWebHostBuilder ConfigureServices(Action<IServiceCollection> configureServices)
338 references to ConfigureServices
Diagnostics.EFCore.FunctionalTests (5)
DatabaseErrorPageMiddlewareTest.cs (2)
351.ConfigureServices(services => 540.ConfigureServices(services =>
MigrationsEndPointMiddlewareTest.cs (3)
102.ConfigureServices(services => 210.ConfigureServices(services => services.AddEntityFrameworkSqlite()); 243.ConfigureServices(services =>
IIS.Tests (1)
Utilities\TestServer.cs (1)
157.ConfigureServices(services =>
InProcessWebSite (1)
src\Servers\IIS\IIS\test\testassets\InProcessWebSite\Program.cs (1)
99.ConfigureServices(services => services.AddSingleton<IServer, DummyServer>())
Interop.FunctionalTests (37)
Http2WebSocketInteropTests.cs (2)
55webHostBuilder.ConfigureServices(AddTestLogging) 105webHostBuilder.ConfigureServices(AddTestLogging)
HttpClientHttp2InteropTests.cs (35)
57webHostBuilder.ConfigureServices(AddTestLogging) 78webHostBuilder.ConfigureServices(AddTestLogging) 111webHostBuilder.ConfigureServices(AddTestLogging) 159webHostBuilder.ConfigureServices(AddTestLogging) 266webHostBuilder.ConfigureServices(AddTestLogging) 325webHostBuilder.ConfigureServices(AddTestLogging) 407webHostBuilder.ConfigureServices(AddTestLogging) 523webHostBuilder.ConfigureServices(AddTestLogging) 553webHostBuilder.ConfigureServices(AddTestLogging) 588webHostBuilder.ConfigureServices(AddTestLogging) 613webHostBuilder.ConfigureServices(AddTestLogging) 641webHostBuilder.ConfigureServices(AddTestLogging) 668webHostBuilder.ConfigureServices(AddTestLogging) 704webHostBuilder.ConfigureServices(AddTestLogging) 760webHostBuilder.ConfigureServices(AddTestLogging) 818webHostBuilder.ConfigureServices(AddTestLogging) 864webHostBuilder.ConfigureServices(AddTestLogging) 909webHostBuilder.ConfigureServices(AddTestLogging) 950webHostBuilder.ConfigureServices(AddTestLogging) 990webHostBuilder.ConfigureServices(AddTestLogging) 1032webHostBuilder.ConfigureServices(AddTestLogging) 1084webHostBuilder.ConfigureServices(AddTestLogging) 1141webHostBuilder.ConfigureServices(AddTestLogging) 1201webHostBuilder.ConfigureServices(AddTestLogging) 1262webHostBuilder.ConfigureServices(AddTestLogging) 1319webHostBuilder.ConfigureServices(AddTestLogging) 1352webHostBuilder.ConfigureServices(AddTestLogging) 1385webHostBuilder.ConfigureServices(AddTestLogging) 1419webHostBuilder.ConfigureServices(AddTestLogging) 1461webHostBuilder.ConfigureServices(AddTestLogging) 1497webHostBuilder.ConfigureServices(AddTestLogging) 1555webHostBuilder.ConfigureServices(AddTestLogging) 1582webHostBuilder.ConfigureServices(AddTestLogging) 1617webHostBuilder.ConfigureServices(AddTestLogging) 1662webHostBuilder.ConfigureServices(AddTestLogging)
IStartupInjectionAssemblyName (1)
Program.cs (1)
23.ConfigureServices(services => services.AddSingleton<IStartup, Startup>());
Microsoft.AspNetCore (1)
WebHost.cs (1)
100builder.ConfigureServices(configureServices);
Microsoft.AspNetCore.Authentication.Test (37)
AuthenticationMiddlewareTests.cs (1)
31.ConfigureServices(services => services.AddAuthentication(o =>
CookieTests.cs (15)
1245.ConfigureServices(s => s.AddAuthentication().AddCookie(o => o.LoginPath = new PathString("/page")))) 1280.ConfigureServices(services => services.AddAuthentication().AddCookie())) 1301.ConfigureServices(services => 1329.ConfigureServices(services => 1358.ConfigureServices(services => services.AddAuthentication().AddCookie(o => o.LoginPath = new PathString("/login")))) 1380.ConfigureServices(services => services.AddAuthentication().AddCookie(o => o.LoginPath = new PathString("/login")))) 1406.ConfigureServices(services => services.AddAuthentication().AddCookie(o => o.LogoutPath = new PathString("/logout")))) 1428.ConfigureServices(services => services.AddAuthentication().AddCookie(o => o.LogoutPath = new PathString("/logout")))) 1454.ConfigureServices(services => services.AddAuthentication().AddCookie(o => o.AccessDeniedPath = new PathString("/denied")))) 1479.ConfigureServices(services => services.AddAuthentication().AddCookie(o => o.LoginPath = new PathString("/page")))) 1622.ConfigureServices(services => services.AddAuthentication().AddCookie(o => o.AccessDeniedPath = new PathString("/denied")))) 1649.ConfigureServices(services => services.AddAuthentication().AddCookie(o => 1673.ConfigureServices(services => services.AddAuthentication().AddCookie("Cookies", o => 1692.ConfigureServices(services => services.AddAuthentication().AddCookie(o => 1876.ConfigureServices(configureServices))
DynamicSchemeTests.cs (1)
166.ConfigureServices(services =>
FacebookTests.cs (1)
471.ConfigureServices(configureServices))
GoogleTests.cs (1)
1226.ConfigureServices(services =>
JwtBearerTests.cs (2)
898.ConfigureServices(services => 1240.ConfigureServices(services => services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme).AddJwtBearer(options)))
JwtBearerTests_Handler.cs (2)
843.ConfigureServices(services => 1299.ConfigureServices(services => services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme).AddJwtBearer(options)))
MicrosoftAccountTests.cs (1)
414.ConfigureServices(services =>
OAuthTests.cs (1)
527.ConfigureServices(configureServices))
OpenIdConnect\OpenIdConnectConfigurationTests.cs (1)
559.ConfigureServices(services =>
OpenIdConnect\OpenIdConnectEventTests.cs (1)
1269.ConfigureServices(services =>
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (1)
1269.ConfigureServices(services =>
OpenIdConnect\TestServerBuilder.cs (1)
111.ConfigureServices(services =>
RemoteAuthenticationTests.cs (1)
50.ConfigureServices(configureServices))
TwitterTests.cs (1)
575.ConfigureServices(services =>
WsFederation\WsFederationTest.cs (3)
47.ConfigureServices(services => 206.ConfigureServices(services => 280.ConfigureServices(services =>
WsFederation\WsFederationTest_Handler.cs (3)
45.ConfigureServices(services => 204.ConfigureServices(services => 278.ConfigureServices(services =>
Microsoft.AspNetCore.AzureAppServicesIntegration.Tests (1)
AppServicesWebHostBuilderExtensionsTest.cs (1)
18mock.Verify(builder => builder.ConfigureServices(It.IsNotNull<Action<IServiceCollection>>()), Times.Once);
Microsoft.AspNetCore.Cors.Test (10)
CorsMiddlewareTests.cs (10)
42.ConfigureServices(services => services.AddCors()); 84.ConfigureServices(services => services.AddCors()); 129.ConfigureServices(services => 178.ConfigureServices(services => 243.ConfigureServices(services => 312.ConfigureServices(services => services.AddCors()); 355.ConfigureServices(services => services.AddCors()); 451.ConfigureServices(services => 529.ConfigureServices(services => services.AddCors()); 605.ConfigureServices(services => services.AddCors());
Microsoft.AspNetCore.DataProtection.Tests (1)
HostingTests.cs (1)
30.ConfigureServices(s =>
Microsoft.AspNetCore.Diagnostics.HealthChecks.Tests (28)
HealthCheckEndpointRouteBuilderExtensionsTest.cs (3)
32.ConfigureServices(services => 64.ConfigureServices(services => 109.ConfigureServices(services =>
HealthCheckMiddlewareTests.cs (25)
54.ConfigureServices(services => 81.ConfigureServices(services => 108.ConfigureServices(services => 138.ConfigureServices(services => 168.ConfigureServices(services => 201.ConfigureServices(services => 234.ConfigureServices(services => 267.ConfigureServices(services => 313.ConfigureServices(services => 350.ConfigureServices(services => 388.ConfigureServices(services => 417.ConfigureServices(services => 452.ConfigureServices(services => 487.ConfigureServices(services => 521.ConfigureServices(services => 551.ConfigureServices(services => 579.ConfigureServices(services => 609.ConfigureServices(services => 644.ConfigureServices(services => 681.ConfigureServices(services => 719.ConfigureServices(services => 757.ConfigureServices(services => 795.ConfigureServices(services => 837.ConfigureServices(services => 881.ConfigureServices(services =>
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Latency\AcceptanceTests.cs (1)
31.ConfigureServices(services =>
Latency\ChecpointAcceptanceTests.cs (1)
27.ConfigureServices(services => RequestLatencyTelemetryServiceCollectionExtensions.AddRequestCheckpoint(services
Microsoft.AspNetCore.Diagnostics.Tests (8)
DeveloperExceptionPageMiddlewareTest.cs (3)
381.ConfigureServices(services => 415.ConfigureServices(services => 453.ConfigureServices(services =>
ExceptionHandlerTest.cs (3)
616.ConfigureServices(services => 667.ConfigureServices(services => services.AddProblemDetails()) 702.ConfigureServices(services => services.AddProblemDetails())
StatusCodeMiddlewareTest.cs (2)
324.ConfigureServices(services => services.AddRouting()) 362.ConfigureServices(services => services.AddRouting())
Microsoft.AspNetCore.HeaderPropagation.Tests (2)
HeaderPropagationIntegrationTest.cs (2)
29.ConfigureServices(services => 206.ConfigureServices(services =>
Microsoft.AspNetCore.HostFiltering.Tests (5)
HostFilteringMiddlewareTests.cs (5)
47.ConfigureServices(services => 88.ConfigureServices(services => 144.ConfigureServices(services => 196.ConfigureServices(services => 236.ConfigureServices(services =>
Microsoft.AspNetCore.Hosting (2)
WebHostBuilderExtensions.cs (2)
148.ConfigureServices(services => 232return hostBuilder.ConfigureServices(collection => collection.AddLogging(configureLogging));
Microsoft.AspNetCore.Hosting.Abstractions (1)
HostingAbstractionsWebHostBuilderExtensions.cs (1)
72return hostBuilder.ConfigureServices(services =>
Microsoft.AspNetCore.Hosting.Tests (31)
WebHostBuilderTests.cs (14)
218.ConfigureServices(s => 243.ConfigureServices(s => 434.ConfigureServices(services => 465.ConfigureServices(services => 470.ConfigureServices(services => 875.ConfigureServices(collection => collection.AddSingleton<ILoggerFactory>(factory)) 979.ConfigureServices(services => 1291.ConfigureServices(services => 1346.ConfigureServices(services => 1370.ConfigureServices(services => 1399.ConfigureServices(services => 1679.ConfigureServices(services => 1692.ConfigureServices(services => services.AddSingleton<ServiceA>()) 1693.ConfigureServices(services => services.AddSingleton<ITestSink>(loggerProvider.Sink))
WebHostTests.cs (17)
214.ConfigureServices(services => 253.ConfigureServices(services => 289.ConfigureServices(services => 374.ConfigureServices(s => 464.ConfigureServices(services => 488.ConfigureServices(services => 525.ConfigureServices(services => 549.ConfigureServices(services => 577.ConfigureServices(services => 630.ConfigureServices(services => 673.ConfigureServices(services => 727.ConfigureServices(services => 740using (var host = CreateBuilder().UseFakeServer().ConfigureServices(services => services.AddOptions()).Build()) 753.ConfigureServices(services => 1048.ConfigureServices(services => 1067.ConfigureServices(services => 1457return builder.ConfigureServices(services => services.AddSingleton<IServer, WebHostTests.FakeServer>());
Microsoft.AspNetCore.Http.Connections.Tests (4)
HttpConnectionDispatcherTests.cs (2)
3504.ConfigureServices(services => 3652.ConfigureServices(services =>
MapConnectionHandlerTests.cs (2)
491.ConfigureServices(services => 513.ConfigureServices(services =>
Microsoft.AspNetCore.HttpLogging.Tests (1)
HttpLoggingMiddlewareTests.cs (1)
2012.ConfigureServices(services =>
Microsoft.AspNetCore.HttpOverrides.Tests (6)
CertificateForwardingTest.cs (5)
45.ConfigureServices(services => 83.ConfigureServices(services => 122.ConfigureServices(services => 160.ConfigureServices(services => 198.ConfigureServices(services =>
ForwardedHeadersMiddlewareTest.cs (1)
1058.ConfigureServices(services =>
Microsoft.AspNetCore.HttpsPolicy.Tests (17)
HstsMiddlewareTests.cs (8)
47.ConfigureServices(services => 88.ConfigureServices(services => 134.ConfigureServices(services => 184.ConfigureServices(services => 234.ConfigureServices(services => 289.ConfigureServices(services => 341.ConfigureServices(services => 388.ConfigureServices(services =>
HttpsPolicyTests.cs (1)
33.ConfigureServices(services =>
HttpsRedirectionMiddlewareTests.cs (8)
32.ConfigureServices(services => 82.ConfigureServices(services => 138.ConfigureServices(services => 194.ConfigureServices(services => 243.ConfigureServices(services => 329.ConfigureServices(services => 382.ConfigureServices(services => 424.ConfigureServices(services =>
Microsoft.AspNetCore.Identity.FunctionalTests (29)
AuthorizationTests.cs (1)
143var client = ServerFactory.WithWebHostBuilder(whb => whb.ConfigureServices(TestServicesConfiguration))
Infrastructure\ServerFactory.cs (2)
44builder.ConfigureServices(sc => 57builder.ConfigureServices(services => AddRelatedParts(services, BootstrapFrameworkVersion));
LoginTests.cs (13)
47.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices)); 90.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices)); 136.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices)); 162var server = ServerFactory.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices)); 187var server = ServerFactory.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices)); 211var server = ServerFactory.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices)); 238var server = ServerFactory.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices)); 266var server = ServerFactory.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices)); 291var server = ServerFactory.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices)); 313var server = ServerFactory.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices)); 335var server = ServerFactory.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices)); 365var server = ServerFactory.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices)); 395var server = ServerFactory.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices));
ManagementTests.cs (2)
65.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices)); 89.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices));
NoIdentityAddedTests.cs (1)
28.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices))
RegistrationTests.cs (10)
30.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices)) 47.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices)); 80.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices)); 102.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices)) 121.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices)) 143.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices)) 168.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices)) 189.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices)) 210.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices)) 234.WithWebHostBuilder(whb => whb.ConfigureServices(ConfigureTestServices))
Microsoft.AspNetCore.Identity.InMemory.Test (1)
FunctionalTest.cs (1)
377.ConfigureServices(services =>
Microsoft.AspNetCore.Localization.Routing.Tests (2)
RouteDataRequestCultureProviderTest.cs (2)
73.ConfigureServices(services => 195.ConfigureServices(services =>
Microsoft.AspNetCore.Localization.Tests (2)
CookieRequestCultureProviderTest.cs (2)
202.ConfigureServices(services => 262.ConfigureServices(services =>
Microsoft.AspNetCore.MiddlewareAnalysis.Tests (1)
MiddlewareAnalysisTests.cs (1)
35.ConfigureServices(services => services.AddMiddlewareAnalysis());
Microsoft.AspNetCore.Mvc.FunctionalTests (12)
AsyncDisposalTest.cs (1)
34.ConfigureServices(s => s.AddSingleton<ControllerTestDisposeAsync>());
ComponentRenderingFunctionalTests.cs (5)
53builder.ConfigureServices(services => services.AddRazorComponents().AddInteractiveServerComponents()))); 68var fixture = Factory.WithWebHostBuilder(builder => builder.ConfigureServices(services => services.AddServerSideBlazor())); 84builder.ConfigureServices(services => services.AddRazorComponents().AddInteractiveServerComponents()))); 100builder.ConfigureServices(services => services.AddRazorComponents().AddInteractiveServerComponents()))); 196.WithWebHostBuilder(builder => builder.ConfigureServices(ConfigureTestWeatherForecastService))
Infrastructure\MvcEncodedTestFixtureOfT.cs (1)
21builder.ConfigureServices(services =>
Infrastructure\MvcTestFixture.cs (1)
37.ConfigureServices(
Infrastructure\MvcWebApplicationBuilderExtensions.cs (1)
27builder.ConfigureServices(services =>
PageAsyncDisposalTest.cs (1)
20.ConfigureServices(s => s.AddSingleton<RazorPagesWebSite.PageTestDisposeAsync>());
SystemTextJsonOutputFormatterTest.cs (1)
36var client = Factory.WithWebHostBuilder(c => c.ConfigureServices(ConfigureServices)).CreateClient();
TestingInfrastructureInheritanceTests.cs (1)
113.ConfigureServices(s => s.AddScoped<DisposableService>());
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
RazorRuntimeCompilationHostingStartup.cs (1)
14builder.ConfigureServices(RazorRuntimeCompilationMvcCoreBuilderExtensions.AddServices);
Microsoft.AspNetCore.RequestDecompression.Tests (6)
RequestDecompressionMiddlewareTests.cs (6)
210.ConfigureServices(services => 280.ConfigureServices(services => 356.ConfigureServices(services => 451.ConfigureServices(services => 537.ConfigureServices(services => 695.ConfigureServices(services =>
Microsoft.AspNetCore.ResponseCompression.Tests (17)
ResponseCompressionMiddlewareTest.cs (17)
155.ConfigureServices(services => 314.ConfigureServices(services => 447.ConfigureServices(services => 508.ConfigureServices(services => 571.ConfigureServices(services => 629.ConfigureServices(services => 675.ConfigureServices(services => 720.ConfigureServices(services => 779.ConfigureServices(services => 839.ConfigureServices(services => 909.ConfigureServices(services => 973.ConfigureServices(services => 1032.ConfigureServices(services => 1082.ConfigureServices(services => 1132.ConfigureServices(services => 1183.ConfigureServices(services => 1248.ConfigureServices(services =>
Microsoft.AspNetCore.Rewrite.Tests (2)
MiddlewareTests.cs (2)
185.ConfigureServices(services => 648.ConfigureServices(s =>
Microsoft.AspNetCore.Server.HttpSys (2)
WebHostBuilderHttpSysExtensions.cs (2)
29return hostBuilder.ConfigureServices(services => 66return hostBuilder.UseHttpSys().ConfigureServices(services =>
Microsoft.AspNetCore.Server.IIS (1)
WebHostBuilderIISExtensions.cs (1)
34return hostBuilder.ConfigureServices(
Microsoft.AspNetCore.Server.IISIntegration (1)
WebHostBuilderIISExtensions.cs (1)
81hostBuilder.ConfigureServices(services =>
Microsoft.AspNetCore.Server.Kestrel.Tests (1)
WebHostBuilderKestrelExtensionsTests.cs (1)
26hostBuilder.ConfigureServices(services =>
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (2)
WebHostBuilderNamedPipeExtensions.cs (2)
32hostBuilder.ConfigureServices(services => 49return hostBuilder.UseNamedPipes().ConfigureServices(services =>
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
WebHostBuilderQuicExtensions.cs (2)
25return hostBuilder.ConfigureServices(services => 42return hostBuilder.UseQuic().ConfigureServices(services =>
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (2)
WebHostBuilderSocketExtensions.cs (2)
26return hostBuilder.ConfigureServices(services => 46return hostBuilder.UseSockets().ConfigureServices(services =>
Microsoft.AspNetCore.Session.Tests (21)
SessionTests.cs (21)
43.ConfigureServices(services => 80.ConfigureServices(services => 135.ConfigureServices(services => 186.ConfigureServices(services => 245.ConfigureServices( 304.ConfigureServices(services => 349.ConfigureServices(services => 407.ConfigureServices(services => 476.ConfigureServices(services => 534.ConfigureServices(services => 584.ConfigureServices(services => 620.ConfigureServices(services => 661.ConfigureServices(services => 710.ConfigureServices(services => 759.ConfigureServices(services => 807.ConfigureServices(services => 859.ConfigureServices(services => 922.ConfigureServices(services => 988.ConfigureServices(services => 1053.ConfigureServices(services => 1105.ConfigureServices(services =>
Microsoft.AspNetCore.SignalR.Tests (2)
MapSignalRTests.cs (2)
42.ConfigureServices(services => 402.ConfigureServices(services =>
Microsoft.AspNetCore.SpaProxy (1)
SpaHostingStartup.cs (1)
18builder.ConfigureServices(services =>
Microsoft.AspNetCore.StaticFiles.FunctionalTests (8)
FallbackStaticFileTest.cs (2)
27.ConfigureServices(services => 80.ConfigureServices(services =>
StaticFileMiddlewareTests.cs (6)
28.ConfigureServices(services => services.AddSingleton(LoggerFactory)) 51.ConfigureServices(services => { services.AddSingleton(LoggerFactory); services.AddRouting(); }) 97.ConfigureServices(services => services.AddSingleton(LoggerFactory)) 142.ConfigureServices(services => services.AddSingleton(LoggerFactory)) 184.ConfigureServices(services => services.AddSingleton(LoggerFactory)) 246.ConfigureServices(services => services.AddSingleton(LoggerFactory))
Microsoft.AspNetCore.StaticFiles.Tests (1)
StaticFilesTestServer.cs (1)
31.ConfigureServices(configureServices ?? defaultConfigureServices);
Microsoft.AspNetCore.TestHost (5)
WebHostBuilderExtensions.cs (5)
26return builder.ConfigureServices(services => 41return builder.ConfigureServices(services => 83webHostBuilder.ConfigureServices(servicesConfiguration); 88webHostBuilder.ConfigureServices( 110webHostBuilder.ConfigureServices(
Microsoft.AspNetCore.TestHost.Tests (8)
TestServerTests.cs (8)
30.ConfigureServices(services => 182.ConfigureServices(services => 348.ConfigureServices(services => services.AddSingleton(testService)) 434.ConfigureServices(services => 504.ConfigureServices(services => 545.ConfigureServices(services => 583.ConfigureServices(services => 614.ConfigureServices(services =>
Microsoft.AspNetCore.Testing (1)
ServiceFakesWebHostExtensions.cs (1)
58.ConfigureServices(services =>
Microsoft.AspNetCore.WebSockets.Tests (1)
KestrelWebSocketHelpers.cs (1)
58.ConfigureServices(s =>
Microsoft.Extensions.Diagnostics.Probes.Tests (2)
KubernetesProbesExtensionsTests.cs (1)
125.ConfigureServices(configureServices))
TcpEndpointProbesExtensionsTests.cs (1)
180.ConfigureServices(configureServices))
Microsoft.Extensions.Http.Resilience.Tests (1)
Resilience\GrpcResilienceTests.cs (1)
31.ConfigureServices(services => services.AddGrpc())
QueueSharing (1)
Program.cs (1)
54}).ConfigureServices(services =>