Last active
September 24, 2017 22:05
-
-
Save alieniasty/6d31f318f8598ddc93954cbfb4093557 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The ASP.NET MVC framework supports four different types of filters: | |
Authorization – Implements IAuthorizationFilter Attribute. | |
Action – Implements IActionFilter Attribute. | |
Result – Implements IResultFilter Attribute. | |
Exception – Implements IExceptionFilter Attribute. | |
Note: Filters are executed in the order listed above. | |
Authorization filters run very early in the action pipeline. | |
They are good for example to escape from the action pipeline when conditions are not met. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment