21 references to IISHttpServer
Microsoft.AspNetCore.Server.IIS (21)
Core\IISHttpContext.cs (3)
55
private readonly
IISHttpServer
_server;
79
IISHttpServer
server,
367
internal
IISHttpServer
Server => _server;
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 (15)
28
private readonly ILogger<
IISHttpServer
> _logger;
66
ILogger<
IISHttpServer
> logger
153
IISHttpServer
? server = null;
157
server = (
IISHttpServer
?)GCHandle.FromIntPtr(pvRequestContext).Target;
176
server?._logger.LogError(0, ex, $"Unexpected exception in static {nameof(
IISHttpServer
)}.{nameof(HandleRequest)}.");
185
IISHttpServer
? server = null;
188
server = (
IISHttpServer
?)GCHandle.FromIntPtr(pvRequestContext).Target;
201
server?._logger.LogError(0, ex, $"Unexpected exception in {nameof(
IISHttpServer
)}.{nameof(HandleShutdown)}.");
224
context?.Server._logger.LogError(0, ex, $"Unexpected exception in {nameof(
IISHttpServer
)}.{nameof(OnDisconnect)}.");
247
context?.Server._logger.LogError(0, ex, $"Unexpected exception in {nameof(
IISHttpServer
)}.{nameof(OnAsyncCompletion)}.");
256
IISHttpServer
? server = null;
259
server = (
IISHttpServer
?)GCHandle.FromIntPtr(serverContext).Target;
273
server?._logger.LogError(0, ex, $"Unexpected exception in {nameof(
IISHttpServer
)}.{nameof(OnRequestsDrained)}.");
284
private readonly
IISHttpServer
_server;
288
public IISContextFactory(MemoryPool<byte> memoryPool, IHttpApplication<T> application, IISServerOptions options,
IISHttpServer
server, ILogger logger)
Core\IISServerSetupFilter.cs (1)
18
if (server?.GetType() != typeof(
IISHttpServer
))
WebHostBuilderIISExtensions.cs (1)
40
services.AddSingleton<IServer,
IISHttpServer
>();