2 instantiations of HostingApplication
Microsoft.AspNetCore.Hosting (2)
GenericHost\GenericWebHostService.cs (1)
159var httpApplication = new HostingApplication(application, Logger, DiagnosticListener, ActivitySource, Propagator, HttpContextFactory, HostingEventSource.Log, HostingMetrics);
Internal\WebHost.cs (1)
145var hostingApp = new HostingApplication(application, _logger, diagnosticSource, activitySource, propagator, httpContextFactory, HostingEventSource.Log, hostingMetrics);
11 references to HostingApplication
Microsoft.AspNetCore.Hosting (11)
GenericHost\GenericWebHostService.cs (1)
159var httpApplication = new HostingApplication(application, Logger, DiagnosticListener, ActivitySource, Propagator, HttpContextFactory, HostingEventSource.Log, HostingMetrics);
Internal\HostingApplication.cs (1)
13internal sealed class HostingApplication : IHttpApplication<HostingApplication.Context>
Internal\HostingApplicationDiagnostics.cs (6)
54public void BeginRequest(HttpContext httpContext, HostingApplication.Context context) 138public void RequestEnd(HttpContext httpContext, Exception? exception, HostingApplication.Context context) 243public void ContextDisposed(HostingApplication.Context context) 252private void LogRequestStarting(HostingApplication.Context context) 267private void LogRequestFinished(HostingApplication.Context context, long startTimestamp, long currentTimestamp) 286private void LogRequestUnhandled(HostingApplication.Context context)
Internal\HostingRequestFinishedLog.cs (2)
17private readonly HostingApplication.Context _context; 52public HostingRequestFinishedLog(HostingApplication.Context context, TimeSpan elapsed)
Internal\WebHost.cs (1)
145var hostingApp = new HostingApplication(application, _logger, diagnosticSource, activitySource, propagator, httpContextFactory, HostingEventSource.Log, hostingMetrics);