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