12 instantiations of IISServerOptions
IIS.Microbenchmarks (1)
PlaintextBenchmark.cs (1)
26_server = TestServer.Create(builder => builder.UseMiddleware<PlaintextMiddleware>(), new LoggerFactory(), new IISServerOptions()).GetAwaiter().GetResult();
IIS.Tests (11)
MaxRequestBodySizeTests.cs (9)
86}, LoggerFactory, new IISServerOptions { MaxRequestBodySize = maxRequestSize })) 116}, LoggerFactory, new IISServerOptions { MaxRequestBodySize = 0 })) 143}, LoggerFactory, new IISServerOptions { MaxRequestBodySize = 0 })) 169}, LoggerFactory, new IISServerOptions { MaxRequestBodySize = 0 })) 192}, LoggerFactory, new IISServerOptions { MaxRequestBodySize = 0 })) 216}, LoggerFactory, new IISServerOptions { MaxRequestBodySize = 0 })) 292}, LoggerFactory, new IISServerOptions { MaxRequestBodySize = maxRequestSize })) 329}, LoggerFactory, new IISServerOptions { MaxRequestBodySize = 0 })) 336"Content-Length: " + (new IISServerOptions().MaxRequestBodySize + 1),
Utilities\TestServer.cs (2)
83return Create(builder => builder.Run(app), loggerFactory, new IISServerOptions()); 93return Create(builder => builder.Run(app), loggerFactory, new IISServerOptions(), isHttps: true);
12 references to IISServerOptions
IIS.Tests (4)
Utilities\TestServer.cs (4)
55private static IISServerOptions _options; 70public static async Task<TestServer> Create(Action<IApplicationBuilder> appBuilder, ILoggerFactory loggerFactory, IISServerOptions options, bool isHttps = false) 86public static Task<TestServer> Create(RequestDelegate app, ILoggerFactory loggerFactory, IISServerOptions options) 159services.Configure<IISServerOptions>(options => options.MaxRequestBodySize = _options.MaxRequestBodySize);
Microsoft.AspNetCore.Server.IIS (8)
Core\IISHttpContext.cs (2)
37private readonly IISServerOptions _options; 78IISServerOptions options,
Core\IISHttpContextOfT.cs (1)
18public IISHttpContextOfT(MemoryPool<byte> memoryPool, IHttpApplication<TContext> application, NativeSafeHandle pInProcessHandler, IISServerOptions options, IISHttpServer server, ILogger logger, bool useLatin1)
Core\IISHttpServer.cs (4)
28private readonly IISServerOptions _options; 63IOptions<IISServerOptions> options, 280private readonly IISServerOptions _options; 285public IISContextFactory(MemoryPool<byte> memoryPool, IHttpApplication<T> application, IISServerOptions options, IISHttpServer server, ILogger logger)
WebHostBuilderIISExtensions.cs (1)
47services.Configure<IISServerOptions>(