2 writes to KestrelServerOptions
Microsoft.AspNetCore.Server.Kestrel.Core (2)
KestrelServerOptions.cs (1)
266
listenOptions.
KestrelServerOptions
= this;
ListenOptions.cs (1)
238
KestrelServerOptions
= KestrelServerOptions,
12 references to KestrelServerOptions
Microsoft.AspNetCore.Server.Kestrel.Core (11)
ListenOptions.cs (2)
132
public IServiceProvider ApplicationServices =>
KestrelServerOptions
?.ApplicationServices!; // TODO - Always available?
238
KestrelServerOptions =
KestrelServerOptions
,
ListenOptionsHttpsExtensions.cs (8)
167
listenOptions.
KestrelServerOptions
.EnableHttpsConfiguration();
170
listenOptions.
KestrelServerOptions
.ConfigurationLoader?.LoadInternal();
173
listenOptions.
KestrelServerOptions
.ApplyHttpsDefaults(options);
175
listenOptions.
KestrelServerOptions
.ApplyDefaultCertificate(options);
194
var loggerFactory = listenOptions.
KestrelServerOptions
.ApplicationServices.GetRequiredService<ILoggerFactory>();
195
var metrics = listenOptions.
KestrelServerOptions
.ApplicationServices.GetRequiredService<KestrelMetrics>();
257
var loggerFactory = listenOptions.
KestrelServerOptions
.ApplicationServices.GetRequiredService<ILoggerFactory>();
258
var metrics = listenOptions.
KestrelServerOptions
.ApplicationServices.GetRequiredService<KestrelMetrics>();
Middleware\ListenOptionsConnectionLoggingExtensions.cs (1)
36
var loggerFactory = listenOptions.
KestrelServerOptions
.ApplicationServices.GetRequiredService<ILoggerFactory>();
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
ListenOptionsTests.cs (1)
45
Assert.NotNull(clone.
KestrelServerOptions
);