629 references to Configure
Aspire.Dashboard.Tests (1)
Integration\MockOpenIdAuthority.cs (1)
33.Configure(app =>
CreateDefaultBuilderApp (1)
Program.cs (1)
31.Configure(app => app.Run(context =>
CreateDefaultBuilderOfTApp (1)
Program.cs (1)
34.Configure(app => app.Run(context =>
DelegationSite (1)
Program.cs (1)
17.Configure(app =>
DependencyInjectionApp (1)
Program.cs (1)
24.Configure(app =>
Diagnostics.EFCore.FunctionalTests (11)
DatabaseErrorPageMiddlewareTest.cs (5)
33.Configure(app => app 70.Configure(app => app 340.Configure(app => 383.Configure(app => 525.Configure(app =>
MigrationsEndPointMiddlewareTest.cs (6)
31.Configure(app => app 88.Configure(app => 149.Configure(app => 177.Configure(app => 209.Configure(app => app.UseMigrationsEndPoint()) 242.Configure(app => app.UseMigrationsEndPoint())
GenericWebHost (1)
Program.cs (1)
19.Configure(app =>
HttpStress (1)
Program.cs (1)
416.Configure(app =>
IIS.Tests (1)
Utilities\TestServer.cs (1)
152.Configure(app =>
InMemory.FunctionalTests (1)
TestTransport\TestServer.cs (1)
82.Configure(app => { app.Run(_app); });
InProcessWebSite (1)
src\Servers\IIS\IIS\test\testassets\InProcessWebSite\Program.cs (1)
100.Configure(builder => builder.Run(async context => { await context.Response.WriteAsync("I shouldn't work"); }))
Interop.FunctionalTests (41)
H2SpecTests.cs (1)
45.Configure(ConfigureHelloWorld);
Http2WebSocketInteropTests.cs (2)
56.Configure(app => 106.Configure(app =>
Http3\Http3TlsTests.cs (2)
375.Configure(app => { }); 416.Configure(app => { });
HttpClientHttp2InteropTests.cs (35)
58.Configure(app => app.Run(context => context.Response.WriteAsync("Hello World"))); 79.Configure(app => app.Run(async context => 112.Configure(app => app.Run(async context => 160.Configure(app => app.Run(async context => 267.Configure(app => app.Run(async context => 326.Configure(app => app.Run(async context => 408.Configure(app => app.Run(async context => 524.Configure(app => app.Run(context => 554.Configure(app => app.Run(async context => 589.Configure(app => app.Run(context => 614.Configure(app => app.Run(async context => 642.Configure(app => app.Run(async context => 669.Configure(app => app.Run(async context => 705.Configure(app => app.Run(async context => 761.Configure(app => app.Run(async context => 819.Configure(app => app.Run(async context => 865.Configure(app => app.Run(async context => 910.Configure(app => app.Run(async context => 951.Configure(app => app.Run(async context => 991.Configure(app => app.Run(async context => 1033.Configure(app => app.Run(context => 1085.Configure(app => app.Run(context => 1142.Configure(app => app.Run(context => 1202.Configure(app => app.Run(async context => 1263.Configure(app => app.Run(async context => 1320.Configure(app => app.Run(context => context.Response.WriteAsync("Hello World"))); 1353.Configure(app => app.Run(context => context.Response.WriteAsync("Hello World"))); 1386.Configure(app => app.Run(context => 1420.Configure(app => app.Run(async context => 1462.Configure(app => app.Run(async context => 1498.Configure(app => app.Run(async context => 1556.Configure(app => app.Run(context => 1583.Configure(app => app.Run(context => context.Response.WriteAsync(context.Request.Path.Value))); 1618.Configure(app => app.Run(async context => 1663.Configure(app => app.Run(async context =>
HttpHelpers.cs (1)
90.Configure(app =>
Microsoft.AspNetCore (1)
WebHost.cs (1)
103builder.Configure(app);
Microsoft.AspNetCore.Authentication.Negotiate.Test (4)
EventTests.cs (1)
423webHostBuilder.Configure(app =>
NegotiateHandlerTests.cs (2)
266webHostBuilder.Configure(app => 394webHostBuilder.Configure(app =>
ServerDeferralTests.cs (1)
62webHostBuilder.Configure(app =>
Microsoft.AspNetCore.Authentication.Test (40)
AuthenticationMiddlewareTests.cs (1)
27.Configure(app =>
CertificateTests.cs (1)
800.Configure(app =>
CookieTests.cs (15)
1237.Configure(app => 1272.Configure(app => 1296.Configure(app => 1324.Configure(app => 1352.Configure(app => 1375.Configure(app => 1401.Configure(app => 1423.Configure(app => 1449.Configure(app => 1473.Configure(app => 1616.Configure(app => 1641.Configure(app => 1664.Configure(app => 1704.Configure(app => 1812.Configure(app =>
DynamicSchemeTests.cs (1)
134.Configure(app =>
FacebookTests.cs (1)
460.Configure(app =>
GoogleTests.cs (1)
1149.Configure(app =>
JwtBearerTests.cs (2)
888.Configure(app => 1164.Configure(app =>
JwtBearerTests_Handler.cs (2)
833.Configure(app => 1223.Configure(app =>
MicrosoftAccountTests.cs (1)
360.Configure(app =>
OAuthTests.cs (1)
516.Configure(app =>
OpenIdConnect\OpenIdConnectConfigurationTests.cs (2)
437.Configure(app => 565.Configure(app => app.UseAuthentication()))
OpenIdConnect\OpenIdConnectEventTests.cs (1)
1297.Configure(app =>
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (1)
1295.Configure(app =>
OpenIdConnect\TestServerBuilder.cs (1)
67.Configure(app =>
PolicyTests.cs (1)
467.Configure(app =>
RemoteAuthenticationTests.cs (1)
39.Configure(app =>
TwitterTests.cs (1)
540.Configure(app =>
WsFederation\WsFederationTest.cs (3)
46.Configure(ConfigureApp) 224.Configure(app => 279.Configure(ConfigureApp)
WsFederation\WsFederationTest_Handler.cs (3)
44.Configure(ConfigureApp) 222.Configure(app => 277.Configure(ConfigureApp)
Microsoft.AspNetCore.CookiePolicy.Test (7)
CookieConsentTests.cs (1)
708.Configure(app =>
CookiePolicyTests.cs (6)
249.Configure(app => 288.Configure(app => 325.Configure(app => 364.Configure(app => 415.Configure(app => 531.Configure(app =>
Microsoft.AspNetCore.Cors.Test (10)
CorsMiddlewareTests.cs (10)
32.Configure(app => 72.Configure(app => 121.Configure(app => 170.Configure(app => 235.Configure(app => 300.Configure(app => 343.Configure(app => 443.Configure(app => 516.Configure(app => 576.Configure(app =>
Microsoft.AspNetCore.Diagnostics.HealthChecks.Tests (29)
HealthCheckEndpointRouteBuilderExtensionsTest.cs (3)
24.Configure(app => 56.Configure(app => 94.Configure(app =>
HealthCheckMiddlewareTests.cs (26)
27.Configure(app => 50.Configure(app => 77.Configure(app => 104.Configure(app => 134.Configure(app => 164.Configure(app => 197.Configure(app => 230.Configure(app => 263.Configure(app => 301.Configure(app => 343.Configure(app => 378.Configure(app => 413.Configure(app => 445.Configure(app => 480.Configure(app => 517.Configure(app => 547.Configure(app => 575.Configure(app => 605.Configure(app => 634.Configure(app => 671.Configure(app => 707.Configure(app => 745.Configure(app => 783.Configure(app => 819.Configure(app => 863.Configure(app =>
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Latency\AcceptanceTests.cs (1)
41.Configure(app =>
Latency\ChecpointAcceptanceTests.cs (1)
124.ConfigureWebHost(webBuilder => webBuilder.Configure(app => app.UseRequestCheckpoint()))
Microsoft.AspNetCore.Diagnostics.Tests (39)
DeveloperExceptionPageMiddlewareTest.cs (13)
48.Configure(app => 98.Configure(app => 157.Configure(app => 202.Configure(app => 238.Configure(app => 275.Configure(app => 311.Configure(app => 348.Configure(app => 385.Configure(app => 421.Configure(app => 459.Configure(app => 546.Configure(app => 591.Configure(app =>
ExceptionHandlerMiddlewareTest.cs (3)
54.Configure(app => 318.Configure(app => 381.Configure(app =>
ExceptionHandlerTest.cs (17)
35.Configure(app => 75.Configure(app => 131.Configure(app => 208.Configure(app => 264.Configure(app => 320.Configure(app => 388.Configure(app => 465.Configure(app => 518.Configure(app => 544.Configure(app => 629.Configure(app => 668.Configure(app => 703.Configure(app => 743.Configure(app => 1006.Configure(app => 1060.Configure(app => 1130.Configure(app =>
StatusCodeMiddlewareTest.cs (6)
27.Configure(app => 81.Configure(app => 142.Configure(app => 205.Configure(app => 325.Configure(app => 363.Configure(app =>
Microsoft.AspNetCore.HeaderPropagation.Tests (3)
HeaderPropagationIntegrationTest.cs (3)
37.Configure(app => 158.Configure(app => 201.Configure(app =>
Microsoft.AspNetCore.HostFiltering.Tests (6)
HostFilteringMiddlewareTests.cs (6)
26.Configure(app => 55.Configure(app => 96.Configure(app => 151.Configure(app => 203.Configure(app => 244.Configure(app =>
Microsoft.AspNetCore.Hosting (1)
Infrastructure\ISupportsStartup.cs (1)
11/// An interface implemented by IWebHostBuilders that handle <see cref="WebHostBuilderExtensions.Configure(IWebHostBuilder, Action{IApplicationBuilder})"/>,
Microsoft.AspNetCore.Hosting.Tests (29)
GenericWebHostBuilderTests.cs (3)
54.Configure(_ => { }); 78.Configure(_ => { }); 122.Configure(_ => { });
WebHostBuilderTests.cs (25)
89.Configure(app => 93.Configure(app => 223.Configure(app => 248.Configure(app => 475.Configure(app => { }); 778.Configure(app => { }) 810.Configure(app => { }) 824.Configure(StaticConfigureMethod) 891.Configure(app => { }) 911.Configure(app => { }) 928.Configure(app => { }) 1049.Configure(app => { }) 1065.Configure(app => 1087.Configure(app => { }) 1151.Configure(app => { }) 1166.Configure(app => { }) 1182.Configure(app => { }) 1203.Configure(app => { }) 1220.Configure(app => 1242.Configure(app => 1276.Configure(app => { }) 1330.Configure(app => { }) 1345builder.Configure(app => { }) 1369builder.Configure(app => { }) 1398builder.Configure(app => { })
WebHostTests.cs (1)
1096.Configure(
Microsoft.AspNetCore.Hosting.WindowsServices.Tests (2)
WebHostServiceTests.cs (2)
22var host = new WebHostBuilder().UseServer(new FakeServer()).Configure(x => { }).Build(); 36var host = new WebHostBuilder().UseServer(new FakeServer()).Configure(x => { }).Build();
Microsoft.AspNetCore.Http.Connections.Tests (4)
HttpConnectionDispatcherTests.cs (2)
3517.Configure(app => 3667.Configure(app =>
MapConnectionHandlerTests.cs (2)
495.Configure(app => 517.Configure(app =>
Microsoft.AspNetCore.HttpLogging.Tests (2)
HttpLoggingMiddlewareTests.cs (2)
1919.Configure(app => 2025.Configure(app =>
Microsoft.AspNetCore.HttpOverrides.Tests (40)
CertificateForwardingTest.cs (5)
49.Configure(app => 87.Configure(app => 126.Configure(app => 164.Configure(app => 202.Configure(app =>
ForwardedHeadersMiddlewareTest.cs (29)
25.Configure(app => 60.Configure(app => 114.Configure(app => 157.Configure(app => 223.Configure(app => 262.Configure(app => 291.Configure(app => 357.Configure(app => 442.Configure(app => 492.Configure(app => 543.Configure(app => 578.Configure(app => 620.Configure(app => 669.Configure(app => 726.Configure(app => 768.Configure(app => 810.Configure(app => 854.Configure(app => 903.Configure(app => 938.Configure(app => 973.Configure(app => 1030.Configure(app => 1068.Configure(app => 1098.Configure(app => 1142.Configure(app => 1184.Configure(app => 1220.Configure(app => 1259.Configure(app => 1309.Configure(app =>
HttpMethodOverrideMiddlewareTest.cs (6)
23.Configure(app => 54.Configure(app => 84.Configure(app => 114.Configure(app => 152.Configure(app => 189.Configure(app =>
Microsoft.AspNetCore.HttpsPolicy.Tests (18)
HstsMiddlewareTests.cs (8)
50.Configure(app => 97.Configure(app => 143.Configure(app => 188.Configure(app => 243.Configure(app => 298.Configure(app => 345.Configure(app => 392.Configure(app =>
HttpsPolicyTests.cs (1)
48.Configure(app =>
HttpsRedirectionMiddlewareTests.cs (9)
36.Configure(app => 91.Configure(app => 147.Configure(app => 201.Configure(app => 247.Configure(app => 290.Configure(app => 333.Configure(app => 386.Configure(app => 428.Configure(app =>
Microsoft.AspNetCore.Identity.InMemory.Test (1)
FunctionalTest.cs (1)
295builder.Configure(app =>
Microsoft.AspNetCore.Localization.Routing.Tests (3)
RouteDataRequestCultureProviderTest.cs (3)
36.Configure(app => 100.Configure(app => 155.Configure(app =>
Microsoft.AspNetCore.Localization.Tests (19)
AcceptLanguageHeaderRequestCultureProviderTest.cs (4)
23.Configure(app => 64.Configure(app => 104.Configure(app => 145.Configure(app =>
CookieRequestCultureProviderTest.cs (5)
27.Configure(app => 80.Configure(app => 129.Configure(app => 180.Configure(app => 240.Configure(app =>
CustomRequestCultureProviderTest.cs (1)
24.Configure(app =>
QueryStringRequestCultureProviderTest.cs (8)
23.Configure(app => 65.Configure(app => 99.Configure(app => 140.Configure(app => 181.Configure(app => 223.Configure(app => 265.Configure(app => 312.Configure(app =>
RequestLocalizationMiddlewareTest.cs (1)
35.Configure(app =>
Microsoft.AspNetCore.MiddlewareAnalysis.Tests (1)
MiddlewareAnalysisTests.cs (1)
25.Configure(app =>
Microsoft.AspNetCore.OutputCaching.Tests (1)
TestUtils.cs (1)
179.Configure(app =>
Microsoft.AspNetCore.RequestDecompression.Tests (6)
RequestDecompressionMiddlewareTests.cs (6)
215.Configure(app => 285.Configure(app => 361.Configure(app => 456.Configure(app => 542.Configure(app => 700.Configure(app =>
Microsoft.AspNetCore.ResponseCaching.Tests (1)
TestUtils.cs (1)
179.Configure(app =>
Microsoft.AspNetCore.ResponseCompression.Tests (17)
ResponseCompressionMiddlewareTest.cs (17)
160.Configure(app => 318.Configure(app => 456.Configure(app => 517.Configure(app => 580.Configure(app => 633.Configure(app => 679.Configure(app => 724.Configure(app => 783.Configure(app => 843.Configure(app => 913.Configure(app => 977.Configure(app => 1036.Configure(app => 1086.Configure(app => 1136.Configure(app => 1187.Configure(app => 1253.Configure(app =>
Microsoft.AspNetCore.Rewrite.Tests (65)
ApacheModRewrite\ModRewriteMiddlewareTest.cs (17)
24.Configure(app => 50.Configure(app => 76.Configure(app => 101.Configure(app => 126.Configure(app => 151.Configure(app => 176.Configure(app => 203.Configure(app => 234.Configure(app => 260.Configure(app => 286.Configure(app => 312.Configure(app => 339.Configure(app => 367.Configure(app => 395.Configure(app => 419.Configure(app => 449.Configure(app =>
IISUrlRewrite\MiddleWareTests.cs (20)
34.Configure(app => 66.Configure(app => 102.Configure(app => 134.Configure(app => 170.Configure(app => 205.Configure(app => 239.Configure(app => 273.Configure(app => 310.Configure(app => 347.Configure(app => 384.Configure(app => 418.Configure(app => 460.Configure(app => 496.Configure(app => 532.Configure(app => 569.Configure(app => 605.Configure(app => 650.Configure(app => 682.Configure(app => 737.Configure(app =>
MiddlewareTests.cs (28)
25.Configure(app => 55.Configure(app => 87.Configure(app => 119.Configure(app => 158.Configure(app => 192.Configure(app => 216.Configure(app => 244.Configure(app => 271.Configure(app => 313.Configure(app => 345.Configure(app => 371.Configure(app => 398.Configure(app => 427.Configure(app => 456.Configure(app => 481.Configure(app => 516.Configure(app => 544.Configure(app => 573.Configure(app => 598.Configure(app => 623.Configure(app => 652.Configure(app => 683.Configure(app => 710.Configure(app => 743.Configure(app => 771.Configure(app => 796.Configure(app => 825.Configure(app =>
Microsoft.AspNetCore.Routing.FunctionalTests (17)
EndpointRoutingIntegrationTest.cs (10)
37.Configure(app => 69.Configure(app => 101.Configure(app => 133.Configure(app => 164.Configure(app => 194.Configure(app => 225.Configure(app => 256.Configure(app => 288.Configure(app => 324.Configure(app =>
MinimalFormTests.cs (2)
708.Configure(app => 735.Configure(app =>
RouteHandlerTest.cs (2)
28.Configure(app => 72.Configure(app =>
ShortCircuitTests.cs (2)
22.Configure(app => 65.Configure(app =>
WebHostBuilderExtensionsTest.cs (1)
83.Configure(app =>
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
Utilities.cs (1)
99.Configure(appBuilder => appBuilder.Run(app));
Microsoft.AspNetCore.Server.IISIntegration.Tests (13)
IISExtensionTests.cs (1)
30.Configure(app => { })
IISMiddlewareTests.cs (12)
36.Configure(app => 74.Configure(app => 115.Configure(app => 174.Configure(app => 219.Configure(app => 264.Configure(app => 304.Configure(app => 337.Configure(app => 366.Configure(app => 404.Configure(app => 446.Configure(app => 503.Configure(app =>
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
InMemoryTransportBenchmark.cs (1)
54.Configure(app => app.UseMiddleware<PlaintextMiddleware>());
NamedPipesTransportBenchmark.cs (1)
52.Configure(app => app.UseMiddleware<PlaintextMiddleware>())
Microsoft.AspNetCore.Server.Kestrel.Tests (13)
HttpsConfigurationTests.cs (7)
30.Configure(app => { }); 64.Configure(app => { }); 95.Configure(app => { }); 132.Configure(app => { }); 165.Configure(app => { }); 200.Configure(app => { }); 226.Configure(app => { });
WebHostBuilderKestrelExtensionsTests.cs (6)
24.Configure(app => { }); 49.Configure(app => { }); 60.Configure(app => { }); 83.Configure(app => { }); 91.Configure(app => { }); 108.Configure(app => { });
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (7)
WebHostTests.cs (7)
64.Configure(app => 120.Configure(app => 155.Configure(app => 192.Configure(app => 230.Configure(app => 301.Configure(app => 396.Configure(app =>
Microsoft.AspNetCore.Session.Tests (21)
SessionTests.cs (21)
33.Configure(app => 69.Configure(app => 117.Configure(app => 170.Configure(app => 219.Configure(app => 278.Configure(app => 340.Configure(app => 387.Configure(app => 452.Configure(app => 517.Configure(app => 559.Configure(app => 608.Configure(app => 649.Configure(app => 699.Configure(app => 748.Configure(app => 796.Configure(app => 850.Configure(app => 910.Configure(app => 976.Configure(app => 1040.Configure(app => 1096.Configure(app =>
Microsoft.AspNetCore.SignalR.Client.Tests (2)
TestServerTests.cs (2)
27}).Configure(app => 79}).Configure(app =>
Microsoft.AspNetCore.SignalR.Tests (2)
MapSignalRTests.cs (2)
46.Configure(app => 406.Configure(app =>
Microsoft.AspNetCore.StaticFiles.FunctionalTests (8)
FallbackStaticFileTest.cs (2)
35.Configure(app => 88.Configure(app =>
StaticFileMiddlewareTests.cs (6)
31.Configure(app => app.UseStaticFiles()); 55.Configure(app => 101.Configure(app => app.UseStaticFiles()); 146.Configure(app => app.UseStaticFiles(new StaticFileOptions 188.Configure(app => app.UseStaticFiles(new StaticFileOptions 248.Configure(app =>
Microsoft.AspNetCore.StaticFiles.Tests (4)
StaticFileMiddlewareTests.cs (3)
31.Configure(app => app.UseStaticFiles()); 64.Configure(app => app.UseStaticFiles(new StaticFileOptions { ServeUnknownFileTypes = true })) 96.Configure(app =>
StaticFilesTestServer.cs (1)
30.Configure(configureApp)
Microsoft.AspNetCore.TestHost.Tests (82)
ClientHandlerTests.cs (1)
699.Configure(app =>
HttpContextBuilderTests.cs (15)
20var builder = new WebHostBuilder().Configure(app => { }); 51var builder = new WebHostBuilder().Configure(app => { }); 66var builder = new WebHostBuilder().Configure(app => { }); 80var builder = new WebHostBuilder().Configure(app => 98var builder = new WebHostBuilder().Configure(app => 121var builder = new WebHostBuilder().Configure(app => 148var builder = new WebHostBuilder().Configure(app => 172var builder = new WebHostBuilder().Configure(app => 194var builder = new WebHostBuilder().Configure(app => 220var builder = new WebHostBuilder().Configure(app => 243var builder = new WebHostBuilder().Configure(app => 269var builder = new WebHostBuilder().Configure(app => 284var builder = new WebHostBuilder().Configure(app => 314.Configure(app => 332.Configure(app =>
RequestBuilderTests.cs (3)
13var builder = new WebHostBuilder().Configure(app => { }); 26var builder = new WebHostBuilder().Configure(app => { }); 41var builder = new WebHostBuilder().Configure(app => { });
RequestLifetimeTests.cs (1)
104.Configure(app =>
ResponseBodyTests.cs (1)
164.Configure(app =>
ResponseResetTests.cs (1)
167.Configure(app =>
TestClientTests.cs (26)
29var builder = new WebHostBuilder().Configure(app => app.Run(appDelegate)); 51var builder = new WebHostBuilder().Configure(app => app.Run(appDelegate)); 73var builder = new WebHostBuilder().Configure(app => app.Run(appDelegate)); 93var builder = new WebHostBuilder().Configure(app => app.Run(appDelegate)); 111var builder = new WebHostBuilder().Configure(app => app.Run(appDelegate)); 147builder.Configure(appBuilder => appBuilder.Run(app)); 192var builder = new WebHostBuilder().Configure(app => app.Run(appDelegate)); 249var builder = new WebHostBuilder().Configure(app => app.Run(appDelegate)); 300var builder = new WebHostBuilder().Configure(app => app.Run(appDelegate)); 357var builder = new WebHostBuilder().Configure(app => app.Run(appDelegate)); 419var builder = new WebHostBuilder().Configure(app => app.Run(appDelegate)); 466var builder = new WebHostBuilder().Configure(app => app.Run(appDelegate)); 517var builder = new WebHostBuilder().Configure(app => app.Run(appDelegate)); 606.Configure(app => 672.Configure(app => 725.Configure(app => app.Run(appDelegate)); 766var builder = new WebHostBuilder().Configure(app => 799var builder = new WebHostBuilder().Configure(app => 847var builder = new WebHostBuilder().Configure(app => app.Run(appDelegate)); 863var builder = new WebHostBuilder().Configure(app => app.Run(async ctx => 894.Configure(app => 919.Configure(app => 949var builder = new WebHostBuilder().Configure(app => app.Run(appDelegate)); 975var builder = new WebHostBuilder().Configure(app => app.Run(appDelegate)); 1002var builder = new WebHostBuilder().Configure(app => app.Run(appDelegate)); 1022.Configure(app =>
TestServerTests.cs (31)
34.Configure(app => { }); 51.Configure(app => { }); 67.Configure(app => { }); 83.Configure(app => { }); 95new TestServer(new WebHostBuilder().Configure(app => { })); 102.Configure(app => { }) 113.Configure(app => 167.Configure(app => 181.Configure(app => { }) 194var builder = new WebHostBuilder().Configure(app => 210var builder = new WebHostBuilder().Configure(app => 266.Configure(applicationBuilder => 287.Configure(applicationBuilder => 304.Configure(b => { }); 329.Configure(_ => { }); 349.Configure(_ => { }); 376.Configure(_ => { }); 426var builder = new WebHostBuilder().Configure(app => 447var builder = new WebHostBuilder().Configure(app => 496var builder = new WebHostBuilder().Configure(app => 537var builder = new WebHostBuilder().Configure(app => 558var builder = new WebHostBuilder().Configure(app => 575var builder = new WebHostBuilder().Configure(app => 606var builder = new WebHostBuilder().Configure(app => 628var builder = new WebHostBuilder().Configure(app => 644var builder = new WebHostBuilder().Configure(app => 662var builder = new WebHostBuilder().Configure(app => 682.Configure(app => 726.Configure(app => 753var builder = new WebHostBuilder().Configure(app => 786var builder = new WebHostBuilder().Configure(app => app.Run(appDelegate));
WebSocketClientTests.cs (3)
23.Configure(app => 60.Configure(app => 98.Configure(app =>
Microsoft.AspNetCore.Tests (6)
WebApplicationTests.cs (1)
1831var ex = Assert.Throws<NotSupportedException>(() => builder.WebHost.Configure(app => { }));
WebHostTests.cs (5)
33.Configure(app => { }) 69.Configure(app => 90.Configure(_ => { }) 102.Configure(_ => { }) 118.Configure(_ => { })
Microsoft.AspNetCore.WebSockets.Tests (2)
Http2WebSocketTests.cs (1)
23webHost.Configure(app =>
KestrelWebSocketHelpers.cs (1)
68.Configure(startup);
QueueSharing (1)
Program.cs (1)
57}).Configure(app =>
SampleStartups (1)
StartupFullControl.cs (1)
34.Configure(app =>
Sockets.BindTests (21)
SocketTransportOptionsTests.cs (1)
119.Configure(
src\Servers\Kestrel\shared\test\TransportTestHelpers\TestServer.cs (1)
108.Configure(app => { app.Run(_app); });
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (19)
195.Configure(ConfigureEchoAddress); 245.Configure(app => 320.Configure(ConfigureEchoAddress); 378.Configure(ConfigureEchoAddress); 425.Configure(ConfigureEchoAddress); 512.Configure(ConfigureEchoAddress); 550.Configure(ConfigureEchoAddress); 585.Configure(ConfigureEchoAddress); 620.Configure(ConfigureEchoAddress); 665.Configure(ConfigureEchoAddress); 706.Configure(ConfigureEchoAddress); 752.Configure(ConfigureEchoAddress); 777.Configure(ConfigureEchoAddress); 803.Configure(ConfigureEchoAddress); 824.Configure(ConfigureEchoAddress); 854.Configure(ConfigureEchoAddress); 877.Configure(ConfigureEchoAddress); 913.Configure(ConfigureEchoAddress); 967.Configure(ConfigureEchoAddress);
Sockets.FunctionalTests (13)
SocketTransportTests.cs (1)
33.Configure(app =>
src\Servers\Kestrel\shared\test\TransportTestHelpers\TestServer.cs (1)
108.Configure(app => { app.Run(_app); });
src\Servers\Kestrel\test\FunctionalTests\MaxRequestBufferSizeTests.cs (1)
344.Configure(app => app.Run(async context =>
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (6)
84.Configure(app => 169.Configure(app => 545.Configure(app => app.Run(async context => 599.Configure(app => app.Run(async context => 696.Configure(app => app.Run(context => 1101.Configure(app =>
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (2)
51.Configure(app => 109.Configure(app =>
src\Servers\Kestrel\test\FunctionalTests\UnixDomainSocketsTests.cs (2)
89.Configure(c => { }); 149.Configure(app =>