1 write to ConfigurationLoader
Microsoft.AspNetCore.Server.Kestrel.Core (1)
KestrelServerOptions.cs (1)
469ConfigurationLoader = loader;
12 references to ConfigurationLoader
Microsoft.AspNetCore.Server.Kestrel.Core (12)
Internal\KestrelServerImpl.cs (7)
305if (Options.ConfigurationLoader?.ReloadOnChange == true && (!_serverAddresses.PreferHostingUrls || _serverAddresses.InternalCollection.Count == 0)) 307reloadToken = Options.ConfigurationLoader.GetReloadToken(); 310Options.ConfigurationLoader?.LoadInternal(); 311Options.ConfigurationLoader?.ProcessEndpointsToAdd(); 345Debug.Assert(Options.ConfigurationLoader != null, "Rebind can only happen when there is a ConfigurationLoader."); 347reloadToken = Options.ConfigurationLoader.GetReloadToken(); 348var (endpointsToStop, endpointsToStart) = Options.ConfigurationLoader.Reload();
KestrelServerOptions.cs (4)
267ConfigurationLoader?.ApplyEndpointDefaults(listenOptions); 282ConfigurationLoader?.ApplyHttpsDefaults(httpsOptions); 303if (ConfigurationLoader?.DefaultCertificate is X509Certificate2 certificateFromLoader) 306if (ConfigurationLoader?.DefaultCertificateChain is X509Certificate2Collection certificateChainFromLoader)
ListenOptionsHttpsExtensions.cs (1)
174listenOptions.KestrelServerOptions.ConfigurationLoader?.LoadInternal();