21 references to IISHttpServer
Microsoft.AspNetCore.Server.IIS (21)
Core\IISHttpContext.cs (3)
54
private readonly
IISHttpServer
_server;
78
IISHttpServer
server,
360
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)
27
private readonly ILogger<
IISHttpServer
> _logger;
64
ILogger<
IISHttpServer
> logger
150
IISHttpServer
? server = null;
154
server = (
IISHttpServer
?)GCHandle.FromIntPtr(pvRequestContext).Target;
173
server?._logger.LogError(0, ex, $"Unexpected exception in static {nameof(
IISHttpServer
)}.{nameof(HandleRequest)}.");
182
IISHttpServer
? server = null;
185
server = (
IISHttpServer
?)GCHandle.FromIntPtr(pvRequestContext).Target;
198
server?._logger.LogError(0, ex, $"Unexpected exception in {nameof(
IISHttpServer
)}.{nameof(HandleShutdown)}.");
221
context?.Server._logger.LogError(0, ex, $"Unexpected exception in {nameof(
IISHttpServer
)}.{nameof(OnDisconnect)}.");
244
context?.Server._logger.LogError(0, ex, $"Unexpected exception in {nameof(
IISHttpServer
)}.{nameof(OnAsyncCompletion)}.");
253
IISHttpServer
? server = null;
256
server = (
IISHttpServer
?)GCHandle.FromIntPtr(serverContext).Target;
270
server?._logger.LogError(0, ex, $"Unexpected exception in {nameof(
IISHttpServer
)}.{nameof(OnRequestsDrained)}.");
281
private readonly
IISHttpServer
_server;
285
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)
38
services.AddSingleton<IServer,
IISHttpServer
>();