In ASP.NET MVC which action filter method is executed in sequence wise?
Can anyone tell me the sequence of execution of below method? From top to bottom.
I.e. 1st to last:
OnActionExecuting()
OnActionExecuted()
OnResultExecuted()
OnResultExecuting()
In Asp.Net MVC, ActionFilterAttribute abstract class has the following methods to : These action filter methods are executed by the following sequence,
You can try this example to track the execution order
Further read - Msdn