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)
85
}, LoggerFactory, new
IISServerOptions
{ MaxRequestBodySize = maxRequestSize }))
115
}, LoggerFactory, new
IISServerOptions
{ MaxRequestBodySize = 0 }))
142
}, LoggerFactory, new
IISServerOptions
{ MaxRequestBodySize = 0 }))
168
}, LoggerFactory, new
IISServerOptions
{ MaxRequestBodySize = 0 }))
191
}, LoggerFactory, new
IISServerOptions
{ MaxRequestBodySize = 0 }))
215
}, LoggerFactory, new
IISServerOptions
{ MaxRequestBodySize = 0 }))
291
}, LoggerFactory, new
IISServerOptions
{ MaxRequestBodySize = maxRequestSize }))
328
}, LoggerFactory, new
IISServerOptions
{ MaxRequestBodySize = 0 }))
335
"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)
37
private readonly
IISServerOptions
_options;
78
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)
29
private readonly
IISServerOptions
_options;
65
IOptions<
IISServerOptions
> options,
283
private readonly
IISServerOptions
_options;
288
public IISContextFactory(MemoryPool<byte> memoryPool, IHttpApplication<T> application,
IISServerOptions
options, IISHttpServer server, ILogger logger)
WebHostBuilderIISExtensions.cs (1)
49
services.Configure<
IISServerOptions
>(