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