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)
28private readonly ILogger<IISHttpServer> _logger; 66ILogger<IISHttpServer> logger 153IISHttpServer? server = null; 157server = (IISHttpServer?)GCHandle.FromIntPtr(pvRequestContext).Target; 176server?._logger.LogError(0, ex, $"Unexpected exception in static {nameof(IISHttpServer)}.{nameof(HandleRequest)}."); 185IISHttpServer? server = null; 188server = (IISHttpServer?)GCHandle.FromIntPtr(pvRequestContext).Target; 201server?._logger.LogError(0, ex, $"Unexpected exception in {nameof(IISHttpServer)}.{nameof(HandleShutdown)}."); 224context?.Server._logger.LogError(0, ex, $"Unexpected exception in {nameof(IISHttpServer)}.{nameof(OnDisconnect)}."); 247context?.Server._logger.LogError(0, ex, $"Unexpected exception in {nameof(IISHttpServer)}.{nameof(OnAsyncCompletion)}."); 256IISHttpServer? server = null; 259server = (IISHttpServer?)GCHandle.FromIntPtr(serverContext).Target; 273server?._logger.LogError(0, ex, $"Unexpected exception in {nameof(IISHttpServer)}.{nameof(OnRequestsDrained)}."); 284private readonly IISHttpServer _server; 288public 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)
40services.AddSingleton<IServer, IISHttpServer>();