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