1 instantiation of ServiceContext
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\KestrelServerImpl.cs (1)
95return new ServiceContext
25 references to ServiceContext
Microsoft.AspNetCore.Server.Kestrel.Core (25)
Internal\BaseHttpConnectionContext.cs (2)
19ServiceContext serviceContext, 42public ServiceContext ServiceContext { get; }
Internal\ConnectionDispatcher.cs (2)
12private readonly ServiceContext _serviceContext; 17public ConnectionDispatcher(ServiceContext serviceContext, Func<T, Task> connectionDelegate, TransportConnectionManager transportConnectionManager)
Internal\Http\HttpProtocol.cs (1)
100public ServiceContext ServiceContext => _context.ServiceContext;
Internal\Http2\Http2FrameWriter.cs (1)
118ServiceContext serviceContext)
Internal\Http2\Http2StreamContext.cs (1)
20ServiceContext serviceContext,
Internal\Http3\Http3Connection.cs (1)
258var serviceContext = _context.ServiceContext;
Internal\Http3\Http3StreamContext.cs (1)
20ServiceContext serviceContext,
Internal\HttpConnectionContext.cs (1)
20ServiceContext serviceContext,
Internal\HttpMultiplexedConnectionContext.cs (1)
19ServiceContext serviceContext,
Internal\Infrastructure\KestrelConnection.cs (2)
21protected readonly ServiceContext _serviceContext; 25ServiceContext serviceContext,
Internal\Infrastructure\KestrelConnectionOfT.cs (1)
17ServiceContext serviceContext,
Internal\Infrastructure\TransportManager.cs (2)
19private readonly ServiceContext _serviceContext; 25ServiceContext serviceContext)
Internal\KestrelServerImpl.cs (3)
53ServiceContext serviceContext) 75private static ServiceContext CreateServiceContext(IOptions<KestrelServerOptions> options, ILoggerFactory loggerFactory, DiagnosticSource? diagnosticSource, KestrelMetrics metrics) 114private ServiceContext ServiceContext { get; }
Middleware\HttpConnectionBuilderExtensions.cs (2)
11public static IConnectionBuilder UseHttpServer<TContext>(this IConnectionBuilder builder, ServiceContext serviceContext, IHttpApplication<TContext> application, HttpProtocols protocols, bool addAltSvcHeader) where TContext : notnull 20public static IMultiplexedConnectionBuilder UseHttp3Server<TContext>(this IMultiplexedConnectionBuilder builder, ServiceContext serviceContext, IHttpApplication<TContext> application, HttpProtocols protocols, bool addAltSvcHeader) where TContext : notnull
Middleware\HttpConnectionMiddleware.cs (2)
15private readonly ServiceContext _serviceContext; 20public HttpConnectionMiddleware(ServiceContext serviceContext, IHttpApplication<TContext> application, HttpProtocols protocols, bool addAltSvcHeader)
Middleware\HttpMultiplexedConnectionMiddleware.cs (2)
15private readonly ServiceContext _serviceContext; 20public HttpMultiplexedConnectionMiddleware(ServiceContext serviceContext, IHttpApplication<TContext> application, HttpProtocols protocols, bool addAltSvcHeader)