Skip to content

JackLinWeb/dotnet-mvc-filters-example

Repository files navigation

aspnet-mvc-filters-sample

Run this program using dotnet run. Everytime the home page receives a request, the console prints:

Global:     OnAuthorization
Controller: OnAuthorization    
Method:     OnAuthorization    
Global:     OnResourceExecuting
Controller: OnResourceExecuting
Method:     OnResourceExecuting
Global:     OnActionExecuting  
Controller: OnActionExecuting  
Method:     OnActionExecuting  
Method:     OnActionExecuted   
Controller: OnActionExecuted   
Global:     OnActionExecuted   
Gobal:      OnResultExecuting  
Controller: OnResultExecuting  
Method:     OnResultExecuting  
Method:     OnResultExecuted
Controller: OnResultExecuted  
Global:     OnResultExecuted  
Method:     OnResourceExecuted
Controller: OnResourceExecuted
Global:     OnResourceExecuted

About

A practice of MVC Filters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published