52 references to Configure
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
572var configurationLoader = serverOptions.Configure(kestrelSection);
CreateDefaultBuilderApp (1)
Program.cs (1)
22.Configure(options.ConfigurationLoader.Configuration)
CreateDefaultBuilderOfTApp (1)
Program.cs (1)
25.Configure(options.ConfigurationLoader.Configuration)
Interop.FunctionalTests (2)
Http3\Http3TlsTests.cs (2)
414serverOptions.Configure(config); 452kestrelOptions.Configure(config);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
KestrelServerOptions.cs (1)
430public KestrelConfigurationLoader Configure() => Configure(new ConfigurationBuilder().Build());
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
KestrelServerTests.cs (1)
938options.Configure(mockConfig.Object);
Microsoft.AspNetCore.Server.Kestrel.Tests (44)
HttpsConfigurationTests.cs (3)
93serverOptions.Configure(config); 130serverOptions.Configure(config); 163serverOptions.Configure(config);
KestrelConfigurationLoaderTests.cs (41)
66serverOptions.Configure(config) 127serverOptions.Configure(config1) 138serverOptions.Configure(config2) 174serverOptions.Configure(config) 220serverOptions.Configure(config) 263.Configure(config) 316serverOptions.Configure(config).Load(); 383serverOptions.Configure(configRoot).Load(); 427serverOptions.Configure(config); 474serverOptions.Configure(config); 535serverOptions.Configure(config); 575.Configure(config) 600.Configure(config) 625.Configure(config) 649.Configure(config) 688.Configure(config) 718.Configure(config) 749.Configure(config) 775var ex = Assert.Throws<InvalidOperationException>(() => serverOptions.Configure(config).Load()); 784ex = Assert.Throws<InvalidOperationException>(() => serverOptions.Configure(config).Load()); 793ex = Assert.Throws<InvalidOperationException>(() => serverOptions.Configure(config).Load()); 802ex = Assert.Throws<InvalidOperationException>(() => serverOptions.Configure(config).Load()); 811ex = Assert.Throws<InvalidOperationException>(() => serverOptions.Configure(config).Load()); 826var (_, endpointsToStart) = serverOptions.Configure(config).Reload(); 839(_, endpointsToStart) = serverOptions.Configure(config).Reload(); 1069serverOptions.Configure(config) 1139serverOptions.Configure(config) 1190serverOptions.Configure(config) 1231serverOptions.Configure(config) 1260serverOptions.Configure(config) 1294serverOptions.Configure(config) 1327serverOptions.Configure(config) 1366var (_, endpointsToStart) = serverOptions.Configure(config).Reload(); 1395serverOptions.Configure(config) 1422serverOptions.Configure(config) 1452serverOptions.Configure(config) 1474serverOptions.Configure(config).Load(); 1514serverOptions.Configure(config).Load(); 1550serverOptions.Configure(config) 1784serverOptions.Configure(mockConfig.Object); 1808serverOptions.Configure(mockConfig.Object);
Sockets.BindTests (1)
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (1)
908options.Configure(config);