1 instantiation of KestrelConfigurationLoader
Microsoft.AspNetCore.Server.Kestrel.Core (1)
KestrelServerOptions.cs (1)
464var loader = new KestrelConfigurationLoader(this, config, httpsConfigurationService, certificatePathWatcher, reloadOnChange);
36 references to KestrelConfigurationLoader
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
539var 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)
83public KestrelConfigurationLoader Endpoint(string name, Action<EndpointConfiguration> configureOptions) 94public KestrelConfigurationLoader Endpoint(IPAddress address, int port) => Endpoint(address, port, _ => { }); 99public KestrelConfigurationLoader Endpoint(IPAddress address, int port, Action<ListenOptions> configure) 109public KestrelConfigurationLoader Endpoint(IPEndPoint endPoint) => Endpoint(endPoint, _ => { }); 114public KestrelConfigurationLoader Endpoint(IPEndPoint endPoint, Action<ListenOptions> configure) 131public KestrelConfigurationLoader LocalhostEndpoint(int port) => LocalhostEndpoint(port, options => { }); 137public KestrelConfigurationLoader LocalhostEndpoint(int port, Action<ListenOptions> configure) 152public KestrelConfigurationLoader AnyIPEndpoint(int port) => AnyIPEndpoint(port, options => { }); 157public KestrelConfigurationLoader AnyIPEndpoint(int port, Action<ListenOptions> configure) 172public KestrelConfigurationLoader UnixSocketEndpoint(string socketPath) => UnixSocketEndpoint(socketPath, _ => { }); 177public KestrelConfigurationLoader UnixSocketEndpoint(string socketPath, Action<ListenOptions> configure) 197public KestrelConfigurationLoader NamedPipeEndpoint(string pipeName) => NamedPipeEndpoint(pipeName, _ => { }); 202public KestrelConfigurationLoader NamedPipeEndpoint(string pipeName, Action<ListenOptions> configure) 218public KestrelConfigurationLoader HandleEndpoint(ulong handle) => HandleEndpoint(handle, _ => { }); 223public KestrelConfigurationLoader HandleEndpoint(ulong handle, Action<ListenOptions> configure)
KestrelServerOptions.cs (8)
189public KestrelConfigurationLoader? ConfigurationLoader { get; set; } 429/// <returns>A <see cref="KestrelConfigurationLoader"/> for configuring endpoints.</returns> 430public KestrelConfigurationLoader Configure() => Configure(new ConfigurationBuilder().Build()); 438/// <returns>A <see cref="KestrelConfigurationLoader"/> for further endpoint configuration.</returns> 439public KestrelConfigurationLoader Configure(IConfiguration config) => Configure(config, reloadOnChange: false); 450/// <returns>A <see cref="KestrelConfigurationLoader"/> for further endpoint configuration.</returns> 451public KestrelConfigurationLoader Configure(IConfiguration config, bool reloadOnChange) 464var 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() 876var configLoader = serverOptions 975var configLoader = serverOptions 1607var oldConfigurationLoader = serverOptions.ConfigurationLoader; 1623var newConfigurationLoader = serverOptions.ConfigurationLoader; 1852var builder = serverOptions.Configure()