1 type derived from DiagnosticListener
Microsoft.AspNetCore.Hosting.Tests (1)
113 instantiations of DiagnosticListener
Aspire.Hosting (4)
InMemory.FunctionalTests (4)
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Microsoft.AspNetCore.Components.Server.Tests (1)
Microsoft.AspNetCore.Diagnostics.Tests (1)
Microsoft.AspNetCore.Hosting (3)
Microsoft.AspNetCore.Hosting.Tests (18)
Microsoft.AspNetCore.Mvc.Core.Test (7)
Microsoft.AspNetCore.Mvc.Razor.Test (40)
Microsoft.AspNetCore.Mvc.RazorPages.Test (6)
Microsoft.AspNetCore.Mvc.Test (2)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (14)
Microsoft.AspNetCore.Routing.Microbenchmarks (2)
Microsoft.AspNetCore.Routing.Tests (6)
Microsoft.AspNetCore.SpaServices.Extensions.Tests (1)
Microsoft.Extensions.Hosting (2)
System.Net.Http (1)
316 references to DiagnosticListener
Aspire.Hosting (8)
Aspire.Hosting.Testing (4)
Aspire.Hosting.Tests (4)
Aspire.Microsoft.Data.SqlClient (5)
Aspire.Microsoft.EntityFrameworkCore.SqlServer (5)
GetDocument.Insider (3)
InMemory.FunctionalTests (5)
Microsoft.AspNetCore.Components.Server.Tests (1)
Microsoft.AspNetCore.Diagnostics (6)
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (6)
Microsoft.AspNetCore.Diagnostics.Tests (9)
Microsoft.AspNetCore.Hosting (13)
Microsoft.AspNetCore.Hosting.Tests (17)
Microsoft.AspNetCore.MiddlewareAnalysis.Tests (2)
Microsoft.AspNetCore.Mvc.Core (78)
MvcCoreDiagnosticListenerExtensions.cs (64)
21this DiagnosticListener diagnosticListener,
38private static void BeforeActionImpl(DiagnosticListener diagnosticListener, ActionDescriptor actionDescriptor, HttpContext httpContext, RouteData routeData)
49this DiagnosticListener diagnosticListener,
66private static void AfterActionImpl(DiagnosticListener diagnosticListener, ActionDescriptor actionDescriptor, HttpContext httpContext, RouteData routeData)
77this DiagnosticListener diagnosticListener,
92private static void BeforeOnAuthorizationAsyncImpl(DiagnosticListener diagnosticListener, AuthorizationFilterContext authorizationContext, IAsyncAuthorizationFilter filter)
107this DiagnosticListener diagnosticListener,
122private static void AfterOnAuthorizationAsyncImpl(DiagnosticListener diagnosticListener, AuthorizationFilterContext authorizationContext, IAsyncAuthorizationFilter filter)
137this DiagnosticListener diagnosticListener,
152private static void BeforeOnAuthorizationImpl(DiagnosticListener diagnosticListener, AuthorizationFilterContext authorizationContext, IAuthorizationFilter filter)
167this DiagnosticListener diagnosticListener,
182private static void AfterOnAuthorizationImpl(DiagnosticListener diagnosticListener, AuthorizationFilterContext authorizationContext, IAuthorizationFilter filter)
197this DiagnosticListener diagnosticListener,
212private static void BeforeOnResourceExecutionImpl(DiagnosticListener diagnosticListener, ResourceExecutingContext resourceExecutingContext, IAsyncResourceFilter filter)
227this DiagnosticListener diagnosticListener,
242private static void AfterOnResourceExecutionImpl(DiagnosticListener diagnosticListener, ResourceExecutedContext resourceExecutedContext, IAsyncResourceFilter filter)
257this DiagnosticListener diagnosticListener,
272private static void BeforeOnResourceExecutingImpl(DiagnosticListener diagnosticListener, ResourceExecutingContext resourceExecutingContext, IResourceFilter filter)
287this DiagnosticListener diagnosticListener,
302private static void AfterOnResourceExecutingImpl(DiagnosticListener diagnosticListener, ResourceExecutingContext resourceExecutingContext, IResourceFilter filter)
317this DiagnosticListener diagnosticListener,
332private static void BeforeOnResourceExecutedImpl(DiagnosticListener diagnosticListener, ResourceExecutedContext resourceExecutedContext, IResourceFilter filter)
347this DiagnosticListener diagnosticListener,
362private static void AfterOnResourceExecutedImpl(DiagnosticListener diagnosticListener, ResourceExecutedContext resourceExecutedContext, IResourceFilter filter)
377this DiagnosticListener diagnosticListener,
392private static void BeforeOnExceptionAsyncImpl(DiagnosticListener diagnosticListener, ExceptionContext exceptionContext, IAsyncExceptionFilter filter)
407this DiagnosticListener diagnosticListener,
422private static void AfterOnExceptionAsyncImpl(DiagnosticListener diagnosticListener, ExceptionContext exceptionContext, IAsyncExceptionFilter filter)
437this DiagnosticListener diagnosticListener,
452private static void BeforeOnExceptionImpl(DiagnosticListener diagnosticListener, ExceptionContext exceptionContext, IExceptionFilter filter)
467this DiagnosticListener diagnosticListener,
482private static void AfterOnExceptionImpl(DiagnosticListener diagnosticListener, ExceptionContext exceptionContext, IExceptionFilter filter)
497this DiagnosticListener diagnosticListener,
512private static void BeforeOnActionExecutionImpl(DiagnosticListener diagnosticListener, ActionExecutingContext actionExecutingContext, IAsyncActionFilter filter)
527this DiagnosticListener diagnosticListener,
542private static void AfterOnActionExecutionImpl(DiagnosticListener diagnosticListener, ActionExecutedContext actionExecutedContext, IAsyncActionFilter filter)
557this DiagnosticListener diagnosticListener,
572private static void BeforeOnActionExecutingImpl(DiagnosticListener diagnosticListener, ActionExecutingContext actionExecutingContext, IActionFilter filter)
587this DiagnosticListener diagnosticListener,
602private static void AfterOnActionExecutingImpl(DiagnosticListener diagnosticListener, ActionExecutingContext actionExecutingContext, IActionFilter filter)
617this DiagnosticListener diagnosticListener,
632private static void BeforeOnActionExecutedImpl(DiagnosticListener diagnosticListener, ActionExecutedContext actionExecutedContext, IActionFilter filter)
647this DiagnosticListener diagnosticListener,
662private static void AfterOnActionExecutedImpl(DiagnosticListener diagnosticListener, ActionExecutedContext actionExecutedContext, IActionFilter filter)
677this DiagnosticListener diagnosticListener,
694private static void BeforeActionMethodImpl(DiagnosticListener diagnosticListener, ActionContext actionContext, IReadOnlyDictionary<string, object> actionArguments, object controller)
722this DiagnosticListener diagnosticListener,
740private static void AfterActionMethodImpl(DiagnosticListener diagnosticListener, ActionContext actionContext, IReadOnlyDictionary<string, object> actionArguments, object controller, IActionResult result)
770this DiagnosticListener diagnosticListener,
785private static void BeforeOnResultExecutionImpl(DiagnosticListener diagnosticListener, ResultExecutingContext resultExecutingContext, IAsyncResultFilter filter)
800this DiagnosticListener diagnosticListener,
815private static void AfterOnResultExecutionImpl(DiagnosticListener diagnosticListener, ResultExecutedContext resultExecutedContext, IAsyncResultFilter filter)
830this DiagnosticListener diagnosticListener,
845private static void BeforeOnResultExecutingImpl(DiagnosticListener diagnosticListener, ResultExecutingContext resultExecutingContext, IResultFilter filter)
860this DiagnosticListener diagnosticListener,
875private static void AfterOnResultExecutingImpl(DiagnosticListener diagnosticListener, ResultExecutingContext resultExecutingContext, IResultFilter filter)
890this DiagnosticListener diagnosticListener,
905private static void BeforeOnResultExecutedImpl(DiagnosticListener diagnosticListener, ResultExecutedContext resultExecutedContext, IResultFilter filter)
920this DiagnosticListener diagnosticListener,
935private static void AfterOnResultExecutedImpl(DiagnosticListener diagnosticListener, ResultExecutedContext resultExecutedContext, IResultFilter filter)
950this DiagnosticListener diagnosticListener,
965private static void BeforeActionResultImpl(DiagnosticListener diagnosticListener, ActionContext actionContext, IActionResult result)
976this DiagnosticListener diagnosticListener,
991private static void AfterActionResultImpl(DiagnosticListener diagnosticListener, ActionContext actionContext, IActionResult result)
Microsoft.AspNetCore.Mvc.Core.Test (6)
Microsoft.AspNetCore.Mvc.Razor (9)
Microsoft.AspNetCore.Mvc.Razor.Test (3)
Microsoft.AspNetCore.Mvc.RazorPages (34)
MvcRazorPagesDiagnosticListenerExtensions.cs (24)
14this DiagnosticListener diagnosticListener,
33private static void BeforeHandlerMethodImpl(DiagnosticListener diagnosticListener, ActionContext actionContext, HandlerMethodDescriptor handlerMethodDescriptor, IReadOnlyDictionary<string, object?> arguments, object instance)
49this DiagnosticListener diagnosticListener,
69private static void AfterHandlerMethodImpl(DiagnosticListener diagnosticListener, ActionContext actionContext, HandlerMethodDescriptor handlerMethodDescriptor, IReadOnlyDictionary<string, object?> arguments, object instance, IActionResult? result)
86this DiagnosticListener diagnosticListener,
101private static void BeforeOnPageHandlerExecutionImpl(DiagnosticListener diagnosticListener, PageHandlerExecutingContext handlerExecutionContext, IAsyncPageFilter filter)
116this DiagnosticListener diagnosticListener,
131private static void AfterOnPageHandlerExecutionImpl(DiagnosticListener diagnosticListener, PageHandlerExecutedContext handlerExecutedContext, IAsyncPageFilter filter)
146this DiagnosticListener diagnosticListener,
161private static void BeforeOnPageHandlerExecutingImpl(DiagnosticListener diagnosticListener, PageHandlerExecutingContext handlerExecutingContext, IPageFilter filter)
176this DiagnosticListener diagnosticListener,
191private static void AfterOnPageHandlerExecutingImpl(DiagnosticListener diagnosticListener, PageHandlerExecutingContext handlerExecutingContext, IPageFilter filter)
206this DiagnosticListener diagnosticListener,
221private static void BeforeOnPageHandlerExecutedImpl(DiagnosticListener diagnosticListener, PageHandlerExecutedContext handlerExecutedContext, IPageFilter filter)
236this DiagnosticListener diagnosticListener,
251private static void AfterOnPageHandlerExecutedImpl(DiagnosticListener diagnosticListener, PageHandlerExecutedContext handlerExecutedContext, IPageFilter filter)
266this DiagnosticListener diagnosticListener,
281private static void BeforeOnPageHandlerSelectionImpl(DiagnosticListener diagnosticListener, PageHandlerSelectedContext handlerSelectedContext, IAsyncPageFilter filter)
296this DiagnosticListener diagnosticListener,
311private static void AfterOnPageHandlerSelectionImpl(DiagnosticListener diagnosticListener, PageHandlerSelectedContext handlerSelectedContext, IAsyncPageFilter filter)
326this DiagnosticListener diagnosticListener,
341private static void BeforeOnPageHandlerSelectedImpl(DiagnosticListener diagnosticListener, PageHandlerSelectedContext handlerSelectedContext, IPageFilter filter)
356this DiagnosticListener diagnosticListener,
371private static void AfterOnPageHandlerSelectedImpl(DiagnosticListener diagnosticListener, PageHandlerSelectedContext handlerSelectedContext, IPageFilter filter)
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
Microsoft.AspNetCore.Mvc.Test (4)
Microsoft.AspNetCore.Mvc.Testing (3)
Microsoft.AspNetCore.Mvc.ViewFeatures (31)
MvcViewFeaturesDiagnosticListenerExtensions.cs (16)
15this DiagnosticListener diagnosticListener,
26private static void BeforeViewComponentImpl(DiagnosticListener diagnosticListener, ViewComponentContext context, object viewComponent)
41this DiagnosticListener diagnosticListener,
53private static void AfterViewComponentImpl(DiagnosticListener diagnosticListener, ViewComponentContext context, IViewComponentResult result, object viewComponent)
69this DiagnosticListener diagnosticListener,
80private static void ViewComponentBeforeViewExecuteImpl(DiagnosticListener diagnosticListener, ViewComponentContext context, IView view)
95this DiagnosticListener diagnosticListener,
106private static void ViewComponentAfterViewExecuteImpl(DiagnosticListener diagnosticListener, ViewComponentContext context, IView view)
121this DiagnosticListener diagnosticListener,
132private static void BeforeViewImpl(DiagnosticListener diagnosticListener, IView view, ViewContext viewContext)
143this DiagnosticListener diagnosticListener,
154private static void AfterViewImpl(DiagnosticListener diagnosticListener, IView view, ViewContext viewContext)
165this DiagnosticListener diagnosticListener,
179private static void ViewFoundImpl(DiagnosticListener diagnosticListener, ActionContext actionContext, bool isMainPage, ActionResult viewResult, string viewName, IView view)
196this DiagnosticListener diagnosticListener,
210private static void ViewNotFoundImpl(DiagnosticListener diagnosticListener, ActionContext actionContext, bool isMainPage, ActionResult viewResult, string viewName, IEnumerable<string> searchedLocations)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (13)
Microsoft.AspNetCore.Routing (3)
Microsoft.AspNetCore.Routing.Tests (6)
Microsoft.AspNetCore.SpaServices.Extensions.Tests (1)
Microsoft.AspNetCore.TestHost (3)
Microsoft.AspNetCore.TestHost.Tests (4)
Microsoft.AspNetCore.Tests (3)
Microsoft.Extensions.Hosting (8)
MiddlewareAnalysisSample (1)
System.Diagnostics.DiagnosticSource (14)
System.Net.Http (2)