1 instantiation of KestrelConfigurationLoader
Microsoft.AspNetCore.Server.Kestrel.Core (1)
KestrelServerOptions.cs (1)
468var loader = new KestrelConfigurationLoader(this, config, httpsConfigurationService, certificatePathWatcher, reloadOnChange);
36 references to KestrelConfigurationLoader
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
540var configurationLoader = serverOptions.Configure(kestrelSection);
InMemory.FunctionalTests (1)
HttpsConnectionMiddlewareTests.cs (1)
82var loader = new KestrelConfigurationLoader(options, configuration, options.ApplicationServices.GetRequiredService<IHttpsConfigurationService>(), certificatePathWatcher: null, reloadOnChange: false);
Interop.FunctionalTests (1)
Http3\Http3TlsTests.cs (1)
505/// <see cref="Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader.TryGetCertificatePath"/>.
Microsoft.AspNetCore.Server.Kestrel.Core (27)
IHttpsConfigurationService.cs (3)
40/// For use during configuration loading (esp in <see cref="KestrelConfigurationLoader"/>). 55/// For use during configuration loading (esp in <see cref="KestrelConfigurationLoader"/>). 63/// For use during configuration loading (esp in <see cref="KestrelConfigurationLoader"/>).
KestrelConfigurationLoader.cs (15)
85public KestrelConfigurationLoader Endpoint(string name, Action<EndpointConfiguration> configureOptions) 96public KestrelConfigurationLoader Endpoint(IPAddress address, int port) => Endpoint(address, port, _ => { }); 101public KestrelConfigurationLoader Endpoint(IPAddress address, int port, Action<ListenOptions> configure) 111public KestrelConfigurationLoader Endpoint(IPEndPoint endPoint) => Endpoint(endPoint, _ => { }); 116public KestrelConfigurationLoader Endpoint(IPEndPoint endPoint, Action<ListenOptions> configure) 133public KestrelConfigurationLoader LocalhostEndpoint(int port) => LocalhostEndpoint(port, options => { }); 139public KestrelConfigurationLoader LocalhostEndpoint(int port, Action<ListenOptions> configure) 154public KestrelConfigurationLoader AnyIPEndpoint(int port) => AnyIPEndpoint(port, options => { }); 159public KestrelConfigurationLoader AnyIPEndpoint(int port, Action<ListenOptions> configure) 174public KestrelConfigurationLoader UnixSocketEndpoint(string socketPath) => UnixSocketEndpoint(socketPath, _ => { }); 179public KestrelConfigurationLoader UnixSocketEndpoint(string socketPath, Action<ListenOptions> configure) 199public KestrelConfigurationLoader NamedPipeEndpoint(string pipeName) => NamedPipeEndpoint(pipeName, _ => { }); 204public KestrelConfigurationLoader NamedPipeEndpoint(string pipeName, Action<ListenOptions> configure) 220public KestrelConfigurationLoader HandleEndpoint(ulong handle) => HandleEndpoint(handle, _ => { }); 225public KestrelConfigurationLoader HandleEndpoint(ulong handle, Action<ListenOptions> configure)
KestrelServerOptions.cs (8)
189public KestrelConfigurationLoader? ConfigurationLoader { get; set; } 433/// <returns>A <see cref="KestrelConfigurationLoader"/> for configuring endpoints.</returns> 434public KestrelConfigurationLoader Configure() => Configure(new ConfigurationBuilder().Build()); 442/// <returns>A <see cref="KestrelConfigurationLoader"/> for further endpoint configuration.</returns> 443public KestrelConfigurationLoader Configure(IConfiguration config) => Configure(config, reloadOnChange: false); 454/// <returns>A <see cref="KestrelConfigurationLoader"/> for further endpoint configuration.</returns> 455public KestrelConfigurationLoader Configure(IConfiguration config, bool reloadOnChange) 468var loader = new KestrelConfigurationLoader(this, config, httpsConfigurationService, certificatePathWatcher, reloadOnChange);
TlsConfigurationLoader.cs (1)
19/// An abstraction over the parts of <see cref="KestrelConfigurationLoader"/> that would prevent us from trimming TLS support
Microsoft.AspNetCore.Server.Kestrel.Tests (6)
KestrelConfigurationLoaderTests.cs (6)
99var builder = serverOptions.Configure() 903var configLoader = serverOptions 1002var configLoader = serverOptions 1634var oldConfigurationLoader = serverOptions.ConfigurationLoader; 1650var newConfigurationLoader = serverOptions.ConfigurationLoader; 1879var builder = serverOptions.Configure()