Sunday, 11 May 2014

Action Filters in MVC 4


Action Filters are attributes that can be applied either on a controller action method or on a controller. When applied at the controller level, they are applicable for all action methods with in that controller. Action Filters allow us to add, pre and post processing logic to an action method. This means they allow us to modify the way in which the action is executed.

Types of Action Filters

Authorize
ChildActionOnly
HandleError
OutputCache
RequireHttps
ValidateInput

Validate AntiForgeryToken

tags:action filters in mvc,action filters in mvc 5,filters in mvc ,autorize filters in asp.net mvc ,filters  in asp.net mvc 5, action filters in asp.net mvc 4,filters in asp.net mvc 6,handle error filter in asp.net mvc,validate anti forgery token in asp.net mvc 5,validate anti forgery token in asp.net mvc 6,validate anti forgery token in asp.net mvc 4,action filters in asp.net mvc 5,action filters in asp.net mvc 5,action filters in asp.net mvc 4,types of action filters in asp.net mvc 5,types of action filters in asp.net mvc 4,types of action filters in asp.net mvc 6