2 writes to KestrelServerOptions
Microsoft.AspNetCore.Server.Kestrel.Core (2)
KestrelServerOptions.cs (1)
266listenOptions.KestrelServerOptions = this;
ListenOptions.cs (1)
238KestrelServerOptions = KestrelServerOptions,
11 references to KestrelServerOptions
Microsoft.AspNetCore.Server.Kestrel.Core (11)
ListenOptions.cs (2)
132public IServiceProvider ApplicationServices => KestrelServerOptions?.ApplicationServices!; // TODO - Always available? 238KestrelServerOptions = KestrelServerOptions,
ListenOptionsHttpsExtensions.cs (8)
171listenOptions.KestrelServerOptions.EnableHttpsConfiguration(); 174listenOptions.KestrelServerOptions.ConfigurationLoader?.LoadInternal(); 177listenOptions.KestrelServerOptions.ApplyHttpsDefaults(options); 179listenOptions.KestrelServerOptions.ApplyDefaultCertificate(options); 198var loggerFactory = listenOptions.KestrelServerOptions.ApplicationServices.GetRequiredService<ILoggerFactory>(); 199var metrics = listenOptions.KestrelServerOptions.ApplicationServices.GetRequiredService<KestrelMetrics>(); 261var loggerFactory = listenOptions.KestrelServerOptions.ApplicationServices.GetRequiredService<ILoggerFactory>(); 262var metrics = listenOptions.KestrelServerOptions.ApplicationServices.GetRequiredService<KestrelMetrics>();
Middleware\ListenOptionsConnectionLoggingExtensions.cs (1)
36var loggerFactory = listenOptions.KestrelServerOptions.ApplicationServices.GetRequiredService<ILoggerFactory>();