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)
83
return Create(builder => builder.Run(app), loggerFactory, new
IISServerOptions
());
93
return Create(builder => builder.Run(app), loggerFactory, new
IISServerOptions
(), isHttps: true);
12 references to IISServerOptions
IIS.Tests (4)
Utilities\TestServer.cs (4)
55
private static
IISServerOptions
_options;
70
public static async Task<TestServer> Create(Action<IApplicationBuilder> appBuilder, ILoggerFactory loggerFactory,
IISServerOptions
options, bool isHttps = false)
86
public static Task<TestServer> Create(RequestDelegate app, ILoggerFactory loggerFactory,
IISServerOptions
options)
159
services.Configure<
IISServerOptions
>(options => options.MaxRequestBodySize = _options.MaxRequestBodySize);
Microsoft.AspNetCore.Server.IIS (8)
Core\IISHttpContext.cs (2)
36
private readonly
IISServerOptions
_options;
77
IISServerOptions
options,
Core\IISHttpContextOfT.cs (1)
18
public IISHttpContextOfT(MemoryPool<byte> memoryPool, IHttpApplication<TContext> application, NativeSafeHandle pInProcessHandler,
IISServerOptions
options, IISHttpServer server, ILogger logger, bool useLatin1)
Core\IISHttpServer.cs (4)
28
private readonly
IISServerOptions
_options;
63
IOptions<
IISServerOptions
> options,
280
private readonly
IISServerOptions
_options;
285
public IISContextFactory(MemoryPool<byte> memoryPool, IHttpApplication<T> application,
IISServerOptions
options, IISHttpServer server, ILogger logger)
WebHostBuilderIISExtensions.cs (1)
47
services.Configure<
IISServerOptions
>(