Microsoft.AspNetCore.Mvc.Filters Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides implementation for several MVC filters.
Classes
Interfaces
IActionFilter |
A filter that surrounds execution of the action. |
IAlwaysRunResultFilter |
A filter that surrounds execution of all action results. |
IAsyncActionFilter |
A filter that asynchronously surrounds execution of the action, after model binding is complete. |
IAsyncAlwaysRunResultFilter |
A filter that asynchronously surrounds execution of all action results. |
IAsyncAuthorizationFilter |
A filter that asynchronously confirms request authorization. |
IAsyncExceptionFilter |
A filter that runs asynchronously after an action has thrown an Exception. |
IAsyncPageFilter |
A filter that asynchronously surrounds execution of a page handler method. This filter is executed only when decorated on a handler's type and not on individual handler methods. |
IAsyncResourceFilter |
A filter that asynchronously surrounds execution of model binding, the action (and filters) and the action result (and filters). |
IAsyncResultFilter |
A filter that asynchronously surrounds execution of action results successfully returned from an action. |
IAuthorizationFilter |
A filter that confirms request authorization. |
IExceptionFilter |
A filter that runs after an action has thrown an Exception. |
IFilterContainer |
A filter that requires a reference back to the IFilterFactory that created it. |
IFilterFactory |
An interface for filter metadata which can create an instance of an executable filter. |
IFilterMetadata |
Marker interface for filters handled in the MVC request pipeline. |
IFilterProvider |
A FilterItem provider. Implementations should update Results to make executable filters available. |
IOrderedFilter |
A filter that specifies the relative order it should run. |
IPageFilter |
A filter that surrounds execution of a page handler method. This filter is executed only when decorated on a handler's type and not on individual handler methods. |
IResourceFilter |
A filter that surrounds execution of model binding, the action (and filters) and the action result (and filters). |
IResultFilter |
A filter that surrounds execution of action results successfully returned from an action. |
Delegates
ActionExecutionDelegate |
A delegate that asynchronously returns an ActionExecutedContext indicating the action or the next action filter has executed. |
PageHandlerExecutionDelegate |
A delegate that asynchronously returns a PageHandlerExecutedContext indicating the page or the next page filter has executed. |
ResourceExecutionDelegate |
A delegate that asynchronously returns a ResourceExecutedContext indicating model binding, the action, the action's result, result filters, and exception filters have executed. |
ResultExecutionDelegate |
A delegate that asynchronously returns an ResultExecutedContext indicating the action result or the next result filter has executed. |
Remarks
For more information on filters, Filters in ASP.NET Core.