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