Posts Tagged ‘ActionFilterAttribute’

How To Assign Data To All Models Objects And Pass Common Data To View

First let’s answer this question. In what order are filters executed in asp.net MVC? Answer 1) Authorization filters. 2) Action filters. 3) Response filters. 4) Exception filters. We will talk about Action Filters We will find 4 override method when inherits this class “System.Web.Mvc.ActionFilterAttribute” and there order on execution is. OnActionExecuting OnActionExecuted OnResultExecuting OnResultExecuted In […]

More »