In MVC we can decorate action methods with different filters like
[HttpPost]
[Authorize]
public ActionResult mymethod(){}
HttpPost
derives from MethodSelectorAttribute
(probably indirectly) and the Authorize
attribute inherits from ActionFilterAttribute
.
My question is: in which order are they executed in the MVC request pipeline? I tried to go search in MVC source code but failed to find the relevant code bits.