7 writes to KestrelServerOptions
InMemory.FunctionalTests (2)
HttpsConnectionMiddlewareTests.cs (1)
88listenOptions.KestrelServerOptions = options;
TestTransport\TestServer.cs (1)
59KestrelServerOptions = options
Microsoft.AspNetCore.Server.Kestrel.Core (2)
KestrelServerOptions.cs (1)
266listenOptions.KestrelServerOptions = this;
ListenOptions.cs (1)
238KestrelServerOptions = KestrelServerOptions,
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
ListenOptionsTests.cs (1)
27localhostListenOptions.KestrelServerOptions = new KestrelServerOptions
Sockets.BindTests (1)
src\Servers\Kestrel\shared\test\TransportTestHelpers\TestServer.cs (1)
49KestrelServerOptions = options
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TransportTestHelpers\TestServer.cs (1)
49KestrelServerOptions = options
12 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)
167listenOptions.KestrelServerOptions.EnableHttpsConfiguration(); 170listenOptions.KestrelServerOptions.ConfigurationLoader?.LoadInternal(); 173listenOptions.KestrelServerOptions.ApplyHttpsDefaults(options); 175listenOptions.KestrelServerOptions.ApplyDefaultCertificate(options); 194var loggerFactory = listenOptions.KestrelServerOptions.ApplicationServices.GetRequiredService<ILoggerFactory>(); 195var metrics = listenOptions.KestrelServerOptions.ApplicationServices.GetRequiredService<KestrelMetrics>(); 257var loggerFactory = listenOptions.KestrelServerOptions.ApplicationServices.GetRequiredService<ILoggerFactory>(); 258var metrics = listenOptions.KestrelServerOptions.ApplicationServices.GetRequiredService<KestrelMetrics>();
Middleware\ListenOptionsConnectionLoggingExtensions.cs (1)
36var loggerFactory = listenOptions.KestrelServerOptions.ApplicationServices.GetRequiredService<ILoggerFactory>();
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
ListenOptionsTests.cs (1)
45Assert.NotNull(clone.KestrelServerOptions);