572 references to ConfigureWebHost
AutobahnTestApp (1)
Program.cs (1)
18.ConfigureWebHost(webHostBuilder =>
AzureAppServicesHostingStartupSample (1)
Startup.cs (1)
60.ConfigureWebHost(webHostBuilder =>
AzureAppServicesSample (1)
Startup.cs (1)
71.ConfigureWebHost(webHostBuilder =>
BasicLinkedApp (1)
Program.cs (1)
33.ConfigureWebHost(webHostBuilder =>
Benchmarks (3)
Program.cs (3)
26.ConfigureWebHost(webHostBuilder => 37hostBuilder.ConfigureWebHost(webHostBuilder => 47hostBuilder.ConfigureWebHost(webHostBuilder =>
ConcurrencyLimiterSample (1)
Startup.cs (1)
33.ConfigureWebHost(webHostBuilder =>
CookiePolicySample (1)
Program.cs (1)
11.ConfigureWebHost(webHostBuilder =>
CookieSessionSample (1)
Program.cs (1)
11.ConfigureWebHost(webHostBuilder =>
CorsMiddlewareWebSite (1)
Startup.cs (1)
21.ConfigureWebHost(webHostBuilder =>
DatabaseErrorPageSample (1)
Startup.cs (1)
32.ConfigureWebHost(webHostBuilder =>
DelegationSite (1)
Program.cs (1)
11.ConfigureWebHost(webHostBuilder =>
DeveloperExceptionPageSample (1)
Startup.cs (1)
51.ConfigureWebHost(webHostBuilder =>
Diagnostics.EFCore.FunctionalTests (11)
DatabaseErrorPageMiddlewareTest.cs (5)
28.ConfigureWebHost(webHostBuilder => 65.ConfigureWebHost(webHostBuilder => 336.ConfigureWebHost(webHostBuilder => 379.ConfigureWebHost(webHostBuilder => 521.ConfigureWebHost(webHostBuilder =>
MigrationsEndPointMiddlewareTest.cs (6)
27.ConfigureWebHost(webHostBuilder => 84.ConfigureWebHost(webHostBuilder => 145.ConfigureWebHost(webHostBuilder => 173.ConfigureWebHost(webHostBuilder => 205.ConfigureWebHost(webHostBuilder => 238.ConfigureWebHost(webHostBuilder =>
Diagnostics.FunctionalTests (1)
TestFixture.cs (1)
25.ConfigureWebHost(webHostBuilder =>
ExceptionHandlerSample (1)
Program.cs (1)
11.ConfigureWebHost(webHostBuilder =>
GenericHostWebSite (1)
Program.cs (1)
15.ConfigureWebHost(webHostBuilder =>
GenericWebHost (1)
Program.cs (1)
16.ConfigureWebHost(builder =>
HeaderPropagationSample (1)
Program.cs (1)
15.ConfigureWebHost(webBuilder =>
HealthChecksSample (1)
Program.cs (1)
45.ConfigureWebHost(webHostBuilder =>
HostFilteringSample (1)
Program.cs (1)
16.ConfigureWebHost(webHostBuilder =>
HotAddSample (1)
Startup.cs (1)
107.ConfigureWebHost(webHostBuilder =>
Http2SampleApp (1)
Program.cs (1)
23.ConfigureWebHost(webHostBuilder =>
Http3SampleApp (1)
Program.cs (1)
25.ConfigureWebHost(webHost =>
HttpOverridesSample (1)
Startup.cs (1)
36.ConfigureWebHost(webHostBuilder =>
HttpsPolicySample (1)
Startup.cs (1)
46.ConfigureWebHost(webHostBuilder =>
HttpStress (1)
Program.cs (1)
389host.ConfigureWebHost(webHost =>
IIS.Tests (1)
Utilities\TestServer.cs (1)
147.ConfigureWebHost(webHostBuilder =>
IISSample (1)
Startup.cs (1)
96.ConfigureWebHost(webHostBuidler =>
InMemory.FunctionalTests (1)
TestTransport\TestServer.cs (1)
78.ConfigureWebHost(webHostBuilder =>
Interop.FunctionalTests (39)
H2SpecTests.cs (1)
31.ConfigureWebHost(webHostBuilder =>
Http2WebSocketInteropTests.cs (2)
52.ConfigureWebHost(webHostBuilder => 102.ConfigureWebHost(webHostBuilder =>
HttpClientHttp2InteropTests.cs (35)
54.ConfigureWebHost(webHostBuilder => 75.ConfigureWebHost(webHostBuilder => 108.ConfigureWebHost(webHostBuilder => 156.ConfigureWebHost(webHostBuilder => 263.ConfigureWebHost(webHostBuilder => 322.ConfigureWebHost(webHostBuilder => 404.ConfigureWebHost(webHostBuilder => 520.ConfigureWebHost(webHostBuilder => 550.ConfigureWebHost(webHostBuilder => 585.ConfigureWebHost(webHostBuilder => 610.ConfigureWebHost(webHostBuilder => 638.ConfigureWebHost(webHostBuilder => 665.ConfigureWebHost(webHostBuilder => 701.ConfigureWebHost(webHostBuilder => 757.ConfigureWebHost(webHostBuilder => 815.ConfigureWebHost(webHostBuilder => 861.ConfigureWebHost(webHostBuilder => 906.ConfigureWebHost(webHostBuilder => 947.ConfigureWebHost(webHostBuilder => 987.ConfigureWebHost(webHostBuilder => 1029.ConfigureWebHost(webHostBuilder => 1081.ConfigureWebHost(webHostBuilder => 1133.ConfigureWebHost(webHostBuilder => 1194.ConfigureWebHost(webHostBuilder => 1255.ConfigureWebHost(webHostBuilder => 1315.ConfigureWebHost(webHostBuilder => 1349.ConfigureWebHost(webHostBuilder => 1382.ConfigureWebHost(webHostBuilder => 1416.ConfigureWebHost(webHostBuilder => 1458.ConfigureWebHost(webHostBuilder => 1494.ConfigureWebHost(webHostBuilder => 1552.ConfigureWebHost(webHostBuilder => 1579.ConfigureWebHost(webHostBuilder => 1602.ConfigureWebHost(webHostBuilder => 1647.ConfigureWebHost(webHostBuilder =>
HttpHelpers.cs (1)
69.ConfigureWebHost(webHostBuilder =>
JwtSample (1)
Program.cs (1)
11.ConfigureWebHost(webHostBuilder =>
Kestrel.SampleApp (1)
Startup.cs (1)
75.ConfigureWebHost(webHostBuilder =>
LargeResponseApp (1)
Startup.cs (1)
44.ConfigureWebHost(webHostBuilder =>
LocalizationSample (1)
Startup.cs (1)
137.ConfigureWebHost(webHostBuilder =>
LocalizationWebsite (1)
Program.cs (1)
15.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.Authentication.Negotiate.Test (4)
EventTests.cs (1)
420.ConfigureWebHost(webHostBuilder =>
NegotiateHandlerTests.cs (2)
263.ConfigureWebHost(webHostBuilder => 391.ConfigureWebHost(webHostBuilder =>
ServerDeferralTests.cs (1)
59.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.Authentication.Test (39)
AuthenticationMiddlewareTests.cs (1)
25.ConfigureWebHost(builder =>
CookieTests.cs (15)
1235.ConfigureWebHost(builder => 1270.ConfigureWebHost(builder => 1294.ConfigureWebHost(builder => 1322.ConfigureWebHost(builder => 1350.ConfigureWebHost(builder => 1373.ConfigureWebHost(builder => 1399.ConfigureWebHost(builder => 1421.ConfigureWebHost(builder => 1447.ConfigureWebHost(builder => 1471.ConfigureWebHost(builder => 1614.ConfigureWebHost(builder => 1639.ConfigureWebHost(builder => 1662.ConfigureWebHost(builder => 1690.ConfigureWebHost(builder => 1810.ConfigureWebHost(builder =>
DynamicSchemeTests.cs (1)
132.ConfigureWebHost(builder =>
FacebookTests.cs (1)
458.ConfigureWebHost(builder =>
GoogleTests.cs (1)
1147.ConfigureWebHost(builder =>
JwtBearerTests.cs (2)
886.ConfigureWebHost(builder => 1162.ConfigureWebHost(builder =>
JwtBearerTests_Handler.cs (2)
831.ConfigureWebHost(builder => 1221.ConfigureWebHost(builder =>
MicrosoftAccountTests.cs (1)
358.ConfigureWebHost(builder =>
OAuthTests.cs (1)
514.ConfigureWebHost(builder =>
OpenIdConnect\OpenIdConnectConfigurationTests.cs (2)
434.ConfigureWebHost(webHostBuilder => 557.ConfigureWebHost(builder =>
OpenIdConnect\OpenIdConnectEventTests.cs (1)
1267.ConfigureWebHost(builder =>
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (1)
1267.ConfigureWebHost(builder =>
OpenIdConnect\TestServerBuilder.cs (1)
65.ConfigureWebHost(builder =>
PolicyTests.cs (1)
464.ConfigureWebHost(webHostBuilder =>
RemoteAuthenticationTests.cs (1)
37.ConfigureWebHost(webHostBuilder =>
TwitterTests.cs (1)
538.ConfigureWebHost(builder =>
WsFederation\WsFederationTest.cs (3)
44.ConfigureWebHost(builder => 204.ConfigureWebHost(builder => 277.ConfigureWebHost(builder =>
WsFederation\WsFederationTest_Handler.cs (3)
42.ConfigureWebHost(builder => 202.ConfigureWebHost(builder => 275.ConfigureWebHost(builder =>
Microsoft.AspNetCore.CookiePolicy.Test (7)
CookieConsentTests.cs (1)
705.ConfigureWebHost(webHostBuilder =>
CookiePolicyTests.cs (6)
246.ConfigureWebHost(webHostBuilder => 285.ConfigureWebHost(webHostBuilder => 322.ConfigureWebHost(webHostBuilder => 361.ConfigureWebHost(webHostBuilder => 412.ConfigureWebHost(webHostBuilder => 528.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.Cors.Test (10)
CorsMiddlewareTests.cs (10)
28.ConfigureWebHost(webHostBuilder => 68.ConfigureWebHost(webHostBuilder => 117.ConfigureWebHost(webHostBuilder => 166.ConfigureWebHost(webHostBuilder => 231.ConfigureWebHost(webHostBuilder => 296.ConfigureWebHost(webHostBuilder => 339.ConfigureWebHost(webHostBuilder => 439.ConfigureWebHost(webHostBuilder => 512.ConfigureWebHost(webHostBuilder => 572.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.DataProtection.Tests (2)
HostingTests.cs (2)
62.ConfigureWebHost(b => b.UseStartup<TestStartup>()); 90.ConfigureWebHost(b => b.UseStartup<TestStartup>());
Microsoft.AspNetCore.Diagnostics.HealthChecks.Tests (33)
HealthCheckEndpointRouteBuilderExtensionsTest.cs (3)
20.ConfigureWebHost(webHostBuilder => 52.ConfigureWebHost(webHostBuilder => 90.ConfigureWebHost(webHostBuilder =>
HealthCheckMiddlewareSampleTest.cs (4)
17.ConfigureWebHost(webHostBuilder => 39.ConfigureWebHost(webHostBuilder => 62.ConfigureWebHost(webHostBuilder => 84.ConfigureWebHost(webHostBuilder =>
HealthCheckMiddlewareTests.cs (26)
23.ConfigureWebHost(webHostBuilder => 46.ConfigureWebHost(webHostBuilder => 73.ConfigureWebHost(webHostBuilder => 100.ConfigureWebHost(webHostBuilder => 130.ConfigureWebHost(webHostBuilder => 160.ConfigureWebHost(webHostBuilder => 193.ConfigureWebHost(webHostBuilder => 226.ConfigureWebHost(webHostBuilder => 259.ConfigureWebHost(webHostBuilder => 297.ConfigureWebHost(webHostBuilder => 339.ConfigureWebHost(webHostBuilder => 374.ConfigureWebHost(webHostBuilder => 409.ConfigureWebHost(webHostBuilder => 441.ConfigureWebHost(webHostBuilder => 476.ConfigureWebHost(webHostBuilder => 513.ConfigureWebHost(webHostBuilder => 543.ConfigureWebHost(webHostBuilder => 571.ConfigureWebHost(webHostBuilder => 601.ConfigureWebHost(webHostBuilder => 630.ConfigureWebHost(webHostBuilder => 667.ConfigureWebHost(webHostBuilder => 703.ConfigureWebHost(webHostBuilder => 741.ConfigureWebHost(webHostBuilder => 779.ConfigureWebHost(webHostBuilder => 815.ConfigureWebHost(webHostBuilder => 859.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (4)
Latency\AcceptanceTests.cs (1)
29.ConfigureWebHost(webBuilder => webBuilder
Latency\ChecpointAcceptanceTests.cs (2)
25builder.ConfigureWebHost(webBuilder => webBuilder 124.ConfigureWebHost(webBuilder => webBuilder.Configure(app => app.UseRequestCheckpoint()))
Logging\AcceptanceTests.cs (1)
121.ConfigureWebHost(static builder => builder
Microsoft.AspNetCore.Diagnostics.Tests (39)
DeveloperExceptionPageMiddlewareTest.cs (13)
44.ConfigureWebHost(webHostBuilder => 94.ConfigureWebHost(webHostBuilder => 153.ConfigureWebHost(webHostBuilder => 198.ConfigureWebHost(webHostBuilder => 234.ConfigureWebHost(webHostBuilder => 271.ConfigureWebHost(webHostBuilder => 307.ConfigureWebHost(webHostBuilder => 344.ConfigureWebHost(webHostBuilder => 377.ConfigureWebHost(webHostBuilder => 411.ConfigureWebHost(webHostBuilder => 449.ConfigureWebHost(webHostBuilder => 542.ConfigureWebHost(webHostBuilder => 587.ConfigureWebHost(webHostBuilder =>
ExceptionHandlerMiddlewareTest.cs (3)
50.ConfigureWebHost(webHostBuilder => 314.ConfigureWebHost(webHostBuilder => 377.ConfigureWebHost(webHostBuilder =>
ExceptionHandlerTest.cs (17)
31.ConfigureWebHost(webHostBuilder => 71.ConfigureWebHost(webHostBuilder => 127.ConfigureWebHost(webHostBuilder => 204.ConfigureWebHost(webHostBuilder => 260.ConfigureWebHost(webHostBuilder => 316.ConfigureWebHost(webHostBuilder => 384.ConfigureWebHost(webHostBuilder => 461.ConfigureWebHost(webHostBuilder => 514.ConfigureWebHost(webHostBuilder => 540.ConfigureWebHost(webHostBuilder => 612.ConfigureWebHost(webHostBuilder => 663.ConfigureWebHost(webHostBuilder => 698.ConfigureWebHost(webHostBuilder => 739.ConfigureWebHost(webHostBuilder => 1002.ConfigureWebHost(webHostBuilder => 1056.ConfigureWebHost(webHostBuilder => 1126.ConfigureWebHost(webHostBuilder =>
StatusCodeMiddlewareTest.cs (6)
23.ConfigureWebHost(webHostBuilder => 77.ConfigureWebHost(webHostBuilder => 138.ConfigureWebHost(webHostBuilder => 201.ConfigureWebHost(webHostBuilder => 321.ConfigureWebHost(builder => 359.ConfigureWebHost(builder =>
Microsoft.AspNetCore.HeaderPropagation.Tests (3)
HeaderPropagationIntegrationTest.cs (3)
25.ConfigureWebHost(webHostBuilder => 154.ConfigureWebHost(webHostBuilder => 197.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.HostFiltering.Tests (6)
HostFilteringMiddlewareTests.cs (6)
22.ConfigureWebHost(webHostBuilder => 43.ConfigureWebHost(webHostBuilder => 84.ConfigureWebHost(webHostBuilder => 140.ConfigureWebHost(webHostBuilder => 192.ConfigureWebHost(webHostBuilder => 232.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.Hosting (1)
Infrastructure\ISupportsConfigureWebHost.cs (1)
9/// An interface implemented by IWebHostBuilders that handle <see cref="GenericHostWebHostBuilderExtensions.ConfigureWebHost(IHostBuilder, Action{IWebHostBuilder})"/>
Microsoft.AspNetCore.Hosting.Tests (6)
GenericWebHostBuilderTests.cs (4)
23.ConfigureWebHost(_ => { }) 49.ConfigureWebHost(webHostBuilder => 73.ConfigureWebHost(webHostBuilder => 118.ConfigureWebHost(webHostBuilder =>
WebHostBuilderTests.cs (2)
1015.ConfigureWebHost(builder => 1029.ConfigureWebHost(builder =>
Microsoft.AspNetCore.Http.Connections.Tests (4)
HttpConnectionDispatcherTests.cs (2)
3496.ConfigureWebHost(webHostBuilder => 3644.ConfigureWebHost(webHostBuilder =>
MapConnectionHandlerTests.cs (2)
487.ConfigureWebHost(webHostBuilder => 508.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.HttpLogging.Tests (1)
HttpLoggingMiddlewareTests.cs (1)
2008.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.HttpOverrides.Tests (40)
CertificateForwardingTest.cs (5)
41.ConfigureWebHost(webHostBuilder => 79.ConfigureWebHost(webHostBuilder => 118.ConfigureWebHost(webHostBuilder => 156.ConfigureWebHost(webHostBuilder => 194.ConfigureWebHost(webHostBuilder =>
ForwardedHeadersMiddlewareTest.cs (29)
21.ConfigureWebHost(webHostBuilder => 56.ConfigureWebHost(webHostBuilder => 110.ConfigureWebHost(webHostBuilder => 153.ConfigureWebHost(webHostBuilder => 219.ConfigureWebHost(webHostBuilder => 258.ConfigureWebHost(webHostBuilder => 287.ConfigureWebHost(webHostBuilder => 353.ConfigureWebHost(webHostBuilder => 438.ConfigureWebHost(webHostBuilder => 488.ConfigureWebHost(webHostBuilder => 539.ConfigureWebHost(webHostBuilder => 574.ConfigureWebHost(webHostBuilder => 616.ConfigureWebHost(webHostBuilder => 665.ConfigureWebHost(webHostBuilder => 722.ConfigureWebHost(webHostBuilder => 764.ConfigureWebHost(webHostBuilder => 806.ConfigureWebHost(webHostBuilder => 850.ConfigureWebHost(webHostBuilder => 899.ConfigureWebHost(webHostBuilder => 934.ConfigureWebHost(webHostBuilder => 969.ConfigureWebHost(webHostBuilder => 1026.ConfigureWebHost(webHostBuilder => 1054.ConfigureWebHost(webHostBuilder => 1094.ConfigureWebHost(webHostBuilder => 1138.ConfigureWebHost(webHostBuilder => 1180.ConfigureWebHost(webHostBuilder => 1216.ConfigureWebHost(webHostBuilder => 1255.ConfigureWebHost(webHostBuilder => 1305.ConfigureWebHost(webHostBuilder =>
HttpMethodOverrideMiddlewareTest.cs (6)
19.ConfigureWebHost(webHostBuilder => 50.ConfigureWebHost(webHostBuilder => 80.ConfigureWebHost(webHostBuilder => 110.ConfigureWebHost(webHostBuilder => 148.ConfigureWebHost(webHostBuilder => 185.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.HttpsPolicy.Tests (18)
HstsMiddlewareTests.cs (8)
43.ConfigureWebHost(webHostBuilder => 84.ConfigureWebHost(webHostBuilder => 130.ConfigureWebHost(webHostBuilder => 180.ConfigureWebHost(webHostBuilder => 230.ConfigureWebHost(webHostBuilder => 285.ConfigureWebHost(webHostBuilder => 337.ConfigureWebHost(webHostBuilder => 384.ConfigureWebHost(webHostBuilder =>
HttpsPolicyTests.cs (1)
29.ConfigureWebHost(webHostBuilder =>
HttpsRedirectionMiddlewareTests.cs (9)
28.ConfigureWebHost(webHostBuilder => 78.ConfigureWebHost(webHostBuilder => 134.ConfigureWebHost(webHostBuilder => 190.ConfigureWebHost(webHostBuilder => 239.ConfigureWebHost(webHostBuilder => 286.ConfigureWebHost(webHostBuilder => 325.ConfigureWebHost(webHostBuilder => 378.ConfigureWebHost(webHostBuilder => 420.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.Identity.InMemory.Test (1)
FunctionalTest.cs (1)
294.ConfigureWebHost(builder =>
Microsoft.AspNetCore.Localization.FunctionalTests (2)
LocalizationSampleTest.cs (1)
20.ConfigureWebHost(webHostBuilder =>
LocalizationTest.cs (1)
99.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.Localization.Routing.Tests (3)
RouteDataRequestCultureProviderTest.cs (3)
32.ConfigureWebHost(webHostBuilder => 96.ConfigureWebHost(webHostBuilder => 151.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.Localization.Tests (19)
AcceptLanguageHeaderRequestCultureProviderTest.cs (4)
19.ConfigureWebHost(webHostBuilder => 60.ConfigureWebHost(webHostBuilder => 100.ConfigureWebHost(webHostBuilder => 141.ConfigureWebHost(webHostBuilder =>
CookieRequestCultureProviderTest.cs (5)
23.ConfigureWebHost(webHostBuilder => 76.ConfigureWebHost(webHostBuilder => 125.ConfigureWebHost(webHostBuilder => 176.ConfigureWebHost(webHostBuilder => 236.ConfigureWebHost(webHostBuilder =>
CustomRequestCultureProviderTest.cs (1)
20.ConfigureWebHost(webHostBuilder =>
QueryStringRequestCultureProviderTest.cs (8)
19.ConfigureWebHost(webHostBuilder => 61.ConfigureWebHost(webHostBuilder => 95.ConfigureWebHost(webHostBuilder => 136.ConfigureWebHost(webHostBuilder => 177.ConfigureWebHost(webHostBuilder => 219.ConfigureWebHost(webHostBuilder => 261.ConfigureWebHost(webHostBuilder => 308.ConfigureWebHost(webHostBuilder =>
RequestLocalizationMiddlewareTest.cs (1)
31.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.MiddlewareAnalysis.Tests (1)
MiddlewareAnalysisTests.cs (1)
21.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.Mvc.Testing (1)
WebApplicationFactory.cs (1)
207hostBuilder.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.RequestDecompression.Tests (6)
RequestDecompressionMiddlewareTests.cs (6)
206.ConfigureWebHost(webHostBuilder => 276.ConfigureWebHost(webHostBuilder => 352.ConfigureWebHost(webHostBuilder => 447.ConfigureWebHost(webHostBuilder => 533.ConfigureWebHost(webHostBuilder => 691.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.ResponseCompression.Tests (17)
ResponseCompressionMiddlewareTest.cs (17)
151.ConfigureWebHost(webHostBuilder => 310.ConfigureWebHost(webHostBuilder => 443.ConfigureWebHost(webHostBuilder => 504.ConfigureWebHost(webHostBuilder => 567.ConfigureWebHost(webHostBuilder => 625.ConfigureWebHost(webHostBuilder => 671.ConfigureWebHost(webHostBuilder => 716.ConfigureWebHost(webHostBuilder => 775.ConfigureWebHost(webHostBuilder => 835.ConfigureWebHost(webHostBuilder => 905.ConfigureWebHost(webHostBuilder => 969.ConfigureWebHost(webHostBuilder => 1028.ConfigureWebHost(webHostBuilder => 1078.ConfigureWebHost(webHostBuilder => 1128.ConfigureWebHost(webHostBuilder => 1179.ConfigureWebHost(webHostBuilder => 1244.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.Rewrite.Tests (65)
ApacheModRewrite\ModRewriteMiddlewareTest.cs (17)
20.ConfigureWebHost(webHostBuilder => 46.ConfigureWebHost(webHostBuilder => 72.ConfigureWebHost(webHostBuilder => 97.ConfigureWebHost(webHostBuilder => 122.ConfigureWebHost(webHostBuilder => 147.ConfigureWebHost(webHostBuilder => 172.ConfigureWebHost(webHostBuilder => 199.ConfigureWebHost(webHostBuilder => 230.ConfigureWebHost(webHostBuilder => 256.ConfigureWebHost(webHostBuilder => 282.ConfigureWebHost(webHostBuilder => 308.ConfigureWebHost(webHostBuilder => 335.ConfigureWebHost(webHostBuilder => 363.ConfigureWebHost(webHostBuilder => 391.ConfigureWebHost(webHostBuilder => 415.ConfigureWebHost(webHostBuilder => 445.ConfigureWebHost(webHostBuilder =>
IISUrlRewrite\MiddleWareTests.cs (20)
30.ConfigureWebHost(webHostBuilder => 62.ConfigureWebHost(webHostBuilder => 98.ConfigureWebHost(webHostBuilder => 130.ConfigureWebHost(webHostBuilder => 166.ConfigureWebHost(webHostBuilder => 201.ConfigureWebHost(webHostBuilder => 235.ConfigureWebHost(webHostBuilder => 269.ConfigureWebHost(webHostBuilder => 306.ConfigureWebHost(webHostBuilder => 343.ConfigureWebHost(webHostBuilder => 380.ConfigureWebHost(webHostBuilder => 414.ConfigureWebHost(webHostBuilder => 456.ConfigureWebHost(webHostBuilder => 492.ConfigureWebHost(webHostBuilder => 528.ConfigureWebHost(webHostBuilder => 565.ConfigureWebHost(webHostBuilder => 601.ConfigureWebHost(webHostBuilder => 646.ConfigureWebHost(webHostBuilder => 678.ConfigureWebHost(webHostBuilder => 733.ConfigureWebHost(webHostBuilder =>
MiddlewareTests.cs (28)
21.ConfigureWebHost(webHostBuilder => 51.ConfigureWebHost(webHostBuilder => 83.ConfigureWebHost(webHostBuilder => 115.ConfigureWebHost(webHostBuilder => 154.ConfigureWebHost(webHostBuilder => 181.ConfigureWebHost(webHostBuilder => 212.ConfigureWebHost(webHostBuilder => 240.ConfigureWebHost(webHostBuilder => 267.ConfigureWebHost(webHostBuilder => 309.ConfigureWebHost(webHostBuilder => 341.ConfigureWebHost(webHostBuilder => 367.ConfigureWebHost(webHostBuilder => 394.ConfigureWebHost(webHostBuilder => 423.ConfigureWebHost(webHostBuilder => 452.ConfigureWebHost(webHostBuilder => 477.ConfigureWebHost(webHostBuilder => 512.ConfigureWebHost(webHostBuilder => 540.ConfigureWebHost(webHostBuilder => 569.ConfigureWebHost(webHostBuilder => 594.ConfigureWebHost(webHostBuilder => 619.ConfigureWebHost(webHostBuilder => 644.ConfigureWebHost(webHostBuilder => 679.ConfigureWebHost(webHostBuilder => 706.ConfigureWebHost(webHostBuilder => 739.ConfigureWebHost(webHostBuilder => 767.ConfigureWebHost(webHostBuilder => 792.ConfigureWebHost(webHostBuilder => 821.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.Routing.FunctionalTests (18)
EndpointRoutingIntegrationTest.cs (10)
34.ConfigureWebHost(webHostBuilder => 66.ConfigureWebHost(webHostBuilder => 98.ConfigureWebHost(webHostBuilder => 130.ConfigureWebHost(webHostBuilder => 161.ConfigureWebHost(webHostBuilder => 191.ConfigureWebHost(webHostBuilder => 222.ConfigureWebHost(webHostBuilder => 253.ConfigureWebHost(webHostBuilder => 285.ConfigureWebHost(webHostBuilder => 321.ConfigureWebHost(webHostBuilder =>
MinimalFormTests.cs (2)
705.ConfigureWebHost(webHostBuilder => 732.ConfigureWebHost(webHostBuilder =>
RouteHandlerTest.cs (2)
25.ConfigureWebHost(webHostBuilder => 69.ConfigureWebHost(webHostBuilder =>
RoutingTestFixture.cs (1)
18.ConfigureWebHost(webHostBuilder =>
ShortCircuitTests.cs (2)
19.ConfigureWebHost(webHostBuilder => 62.ConfigureWebHost(webHostBuilder =>
WebHostBuilderExtensionsTest.cs (1)
80.ConfigureWebHost(webhostbuilder =>
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
DelegateTests.cs (1)
25builder.ConfigureWebHost(webHost =>
Utilities.cs (1)
90.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.Server.IISIntegration.Tests (13)
IISExtensionTests.cs (1)
22.ConfigureWebHost(webHostBuilder =>
IISMiddlewareTests.cs (12)
30.ConfigureWebHost(webHostBuilder => 67.ConfigureWebHost(webHostBuilder => 108.ConfigureWebHost(webHostBuilder => 167.ConfigureWebHost(webHostBuilder => 212.ConfigureWebHost(webHostBuilder => 257.ConfigureWebHost(webHostBuilder => 297.ConfigureWebHost(webHostBuilder => 330.ConfigureWebHost(webHostBuilder => 359.ConfigureWebHost(webHostBuilder => 397.ConfigureWebHost(webHostBuilder => 439.ConfigureWebHost(webHostBuilder => 496.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
InMemoryTransportBenchmark.cs (1)
46.ConfigureWebHost(webHostBuilder =>
NamedPipesTransportBenchmark.cs (1)
44.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (7)
WebHostTests.cs (7)
49.ConfigureWebHost(webHostBuilder => 104.ConfigureWebHost(webHostBuilder => 144.ConfigureWebHost(webHostBuilder => 181.ConfigureWebHost(webHostBuilder => 219.ConfigureWebHost(webHostBuilder => 286.ConfigureWebHost(webHostBuilder => 385.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.Session.Tests (21)
SessionTests.cs (21)
29.ConfigureWebHost(webHostBuilder => 65.ConfigureWebHost(webHostBuilder => 113.ConfigureWebHost(webHostBuilder => 166.ConfigureWebHost(webHostBuilder => 215.ConfigureWebHost(webHostBuilder => 274.ConfigureWebHost(webHostBuilder => 336.ConfigureWebHost(webHostBuilder => 383.ConfigureWebHost(webHostBuilder => 448.ConfigureWebHost(webHostBuilder => 513.ConfigureWebHost(webHostBuilder => 555.ConfigureWebHost(webHostBuilder => 604.ConfigureWebHost(webHostBuilder => 645.ConfigureWebHost(webHostBuilder => 695.ConfigureWebHost(webHostBuilder => 744.ConfigureWebHost(webHostBuilder => 792.ConfigureWebHost(webHostBuilder => 846.ConfigureWebHost(webHostBuilder => 906.ConfigureWebHost(webHostBuilder => 972.ConfigureWebHost(webHostBuilder => 1036.ConfigureWebHost(webHostBuilder => 1092.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.SignalR.Tests (2)
MapSignalRTests.cs (2)
38builder.ConfigureWebHost(webHostBuilder => 398.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
src\Shared\SignalR\InProcessTestServer.cs (1)
102.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.StaticFiles.FunctionalTests (8)
FallbackStaticFileTest.cs (2)
24.ConfigureWebHost(webHostBuilder => 77.ConfigureWebHost(webHostBuilder =>
StaticFileMiddlewareTests.cs (6)
25.ConfigureWebHost(webHostBuilder => 48.ConfigureWebHost(webHostBuilder => 94.ConfigureWebHost(webHostBuilder => 139.ConfigureWebHost(webHostBuilder => 181.ConfigureWebHost(webHostBuilder => 243.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.StaticFiles.Tests (4)
StaticFileMiddlewareTests.cs (3)
27.ConfigureWebHost(webHostBuilder => 60.ConfigureWebHost(webHostBuilder => 92.ConfigureWebHost(webHostBuilder =>
StaticFilesTestServer.cs (1)
25.ConfigureWebHost(webHostBuilder =>
Microsoft.AspNetCore.TestHost.Tests (9)
RequestLifetimeTests.cs (1)
100.ConfigureWebHost(webBuilder =>
ResponseBodyTests.cs (1)
160.ConfigureWebHost(webBuilder =>
ResponseResetTests.cs (1)
163.ConfigureWebHost(webBuilder =>
TestServerTests.cs (6)
27.ConfigureWebHost(webBuilder => 47.ConfigureWebHost(webBuilder => 63.ConfigureWebHost(webBuilder => 79.ConfigureWebHost(webBuilder => 344.ConfigureWebHost(webBuilder => 367.ConfigureWebHost(webBuilder =>
Microsoft.AspNetCore.Testing.Tests (6)
FakesExtensionsTests.cs (6)
33.ConfigureWebHost(webHost => webHost.UseFakeStartup().ListenHttpOnAnyPort()) 43.ConfigureWebHost(webHost => webHost.ListenHttpOnAnyPort().UseFakeStartup()) 53.ConfigureWebHost(webHost => webHost.UseStartup<Startup>().ListenHttpsOnAnyPort()) 74.ConfigureWebHost(webHost => webHost.UseStartup<Startup>().ListenHttpsOnAnyPort(certificate)) 159.ConfigureWebHost(webHost => webHost.UseStartup<Startup>().ListenHttpsOnAnyPort()) 171.ConfigureWebHost(webHost => webHost.UseStartup<Startup>().ListenHttpOnAnyPort())
Microsoft.AspNetCore.Tests (2)
WebApplicationTests.cs (2)
1139hostBuilder.ConfigureWebHost(builder => 1843var ex5 = Assert.Throws<NotSupportedException>(() => builder.Host.ConfigureWebHost(webHostBuilder => { }));
Microsoft.AspNetCore.WebSockets.Tests (2)
Http2WebSocketTests.cs (1)
20.ConfigureWebHost(webHost =>
KestrelWebSocketHelpers.cs (1)
55.ConfigureWebHost(webHostBuilder =>
Microsoft.Extensions.Diagnostics.Probes.Tests (2)
KubernetesProbesExtensionsTests.cs (1)
123.ConfigureWebHost(webBuilder => webBuilder
TcpEndpointProbesExtensionsTests.cs (1)
178.ConfigureWebHost(webBuilder => webBuilder
MiddlewareAnalysisSample (1)
Startup.cs (1)
82.ConfigureWebHost(webHostBuilder =>
NativeIISSample (1)
Startup.cs (1)
144.ConfigureWebHost(webHostBuilder =>
PlaintextApp (1)
Startup.cs (1)
39.ConfigureWebHost(webHostBuilder =>
QueueSharing (1)
Program.cs (1)
42.ConfigureWebHost(webHost =>
RequestDecompressionSample (1)
Startup.cs (1)
34.ConfigureWebHost(webHostBuilder =>
ResponseCachingSample (1)
Startup.cs (1)
34.ConfigureWebHost(webHostBuilder =>
ResponseCompressionSample (1)
Startup.cs (1)
69.ConfigureWebHost(webHostBuilder =>
RewriteSample (1)
Startup.cs (1)
43.ConfigureWebHost(webHostBuilder =>
RoutingSandbox (1)
Program.cs (1)
56.ConfigureWebHost(webHostBuilder =>
RoutingWebSite (1)
Program.cs (1)
58.ConfigureWebHost(webHostBuilder =>
SampleStartups (6)
StartupBlockingOnStart.cs (1)
38.ConfigureWebHost(webHostBuilder =>
StartupConfigureAddresses.cs (1)
31.ConfigureWebHost(webHostBuilder =>
StartupExternallyControlled.cs (1)
34.ConfigureWebHost(webHostBuilder =>
StartupFullControl.cs (1)
25.ConfigureWebHost(webHostBuilder =>
StartupHelloWorld.cs (1)
28.ConfigureWebHost(webHostBuilder =>
StartupInjection.cs (1)
26.ConfigureWebHost(webHostBuilder =>
SelfHostServer (1)
Program.cs (1)
19.ConfigureWebHost(webBuilder =>
SessionSample (1)
Startup.cs (1)
80.ConfigureWebHost(webHostBuilder =>
SignalR.Client.FunctionalTestApp (1)
Program.cs (1)
25.ConfigureWebHost(webHostBuilder =>
SignalRSamples (1)
Program.cs (1)
19.ConfigureWebHost(webHostBuilder =>
SocialWeather (1)
Program.cs (1)
11.ConfigureWebHost(webHostBuilder =>
Sockets.BindTests (19)
SocketTransportOptionsTests.cs (1)
113.ConfigureWebHost(
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (18)
184.ConfigureWebHost(webHostBuilder => 234.ConfigureWebHost(webHostBuilder => 307.ConfigureWebHost(webHostBuilder => 371.ConfigureWebHost(webHostBuilder => 418.ConfigureWebHost(webHostBuilder => 545.ConfigureWebHost(webHostBuilder => 580.ConfigureWebHost(webHostBuilder => 608.ConfigureWebHost(webHostBuilder => 653.ConfigureWebHost(webHostBuilder => 695.ConfigureWebHost(webHostBuilder => 747.ConfigureWebHost(webHostBuilder => 772.ConfigureWebHost(webHostBuilder => 796.ConfigureWebHost(webHostBuilder => 817.ConfigureWebHost(webHostBuilder => 846.ConfigureWebHost(webHostBuilder => 869.ConfigureWebHost(webHostBuilder => 899.ConfigureWebHost(webHostBuilder => 962.ConfigureWebHost(webHostBuilder =>
Sockets.FunctionalTests (11)
SocketTransportTests.cs (1)
28.ConfigureWebHost(webHostBuilder =>
src\Servers\Kestrel\test\FunctionalTests\MaxRequestBufferSizeTests.cs (1)
309.ConfigureWebHost(webHostBuilder =>
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (5)
75.ConfigureWebHost(webHostBuilder => 164.ConfigureWebHost(webHostBuilder => 540.ConfigureWebHost(webHostBuilder => 594.ConfigureWebHost(webHostBuilder => 1096.ConfigureWebHost(webHostBuilder =>
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (2)
46.ConfigureWebHost(webHostBuilder => 104.ConfigureWebHost(webHostBuilder =>
src\Servers\Kestrel\test\FunctionalTests\UnixDomainSocketsTests.cs (2)
79.ConfigureWebHost(webHostBuilder => 144.ConfigureWebHost(webHostBuilder =>
StaticFileSample (1)
Startup.cs (1)
27.ConfigureWebHost(webHostBuilder =>
StatusCodePagesSample (1)
Startup.cs (1)
110.ConfigureWebHost(webHostBuilder =>
SystemdTestApp (1)
Startup.cs (1)
47.ConfigureWebHost(webHostBuilder =>
WelcomePageSample (1)
Startup.cs (1)
16.ConfigureWebHost(webHostBuilder =>
WsFedSample (1)
Program.cs (1)
15.ConfigureWebHost(webHostBuilder =>