21 references to IISHttpServer
Microsoft.AspNetCore.Server.IIS (21)
Core\IISHttpContext.cs (3)
55private readonly IISHttpServer _server; 79IISHttpServer server, 367internal IISHttpServer Server => _server;
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 (15)
27private readonly ILogger<IISHttpServer> _logger; 64ILogger<IISHttpServer> logger 149IISHttpServer? server = null; 153server = (IISHttpServer?)GCHandle.FromIntPtr(pvRequestContext).Target; 172server?._logger.LogError(0, ex, $"Unexpected exception in static {nameof(IISHttpServer)}.{nameof(HandleRequest)}."); 181IISHttpServer? server = null; 184server = (IISHttpServer?)GCHandle.FromIntPtr(pvRequestContext).Target; 197server?._logger.LogError(0, ex, $"Unexpected exception in {nameof(IISHttpServer)}.{nameof(HandleShutdown)}."); 220context?.Server._logger.LogError(0, ex, $"Unexpected exception in {nameof(IISHttpServer)}.{nameof(OnDisconnect)}."); 243context?.Server._logger.LogError(0, ex, $"Unexpected exception in {nameof(IISHttpServer)}.{nameof(OnAsyncCompletion)}."); 252IISHttpServer? server = null; 255server = (IISHttpServer?)GCHandle.FromIntPtr(serverContext).Target; 269server?._logger.LogError(0, ex, $"Unexpected exception in {nameof(IISHttpServer)}.{nameof(OnRequestsDrained)}."); 280private readonly IISHttpServer _server; 284public IISContextFactory(MemoryPool<byte> memoryPool, IHttpApplication<T> application, IISServerOptions options, IISHttpServer server, ILogger logger)
Core\IISServerSetupFilter.cs (1)
18if (server?.GetType() != typeof(IISHttpServer))
WebHostBuilderIISExtensions.cs (1)
38services.AddSingleton<IServer, IISHttpServer>();