Reputation: 18639
On a controller method annotated ActionFilterAttribute which happens first, the OnActionExecuting or the OnResulting methods?
What is the order that things happen? I've read the MSDN page but it isn't clear to me.
Upvotes: 4
Views: 3147
Reputation: 15890
It should be the following order:
Upvotes: 2
Reputation: 27187
It's all on MSDN - http://msdn.microsoft.com/en-us/library/gg416513(v=vs.98).aspx
Exception filters (OnException) run when errors occur
Upvotes: 13