Home > DeveloperSection > Interviews > What is the use of action filters in an MVC application?

Posted on    May-19-2012 3:20 AM

 ASP.NET MVC ASP.NET MVC 
Ratings:
 1 Answer(s)
  5404  View(s)
Rate this:

Tanuj Kumar

Total Post:30

Points:150
Posted on    May-19-2012 12:00 AM

Action Filters allow us to add pre-action and post-action behavior to controller action methods.. An action filter is an attribute that you can apply to a controller action -- or an entire controller -- that modifies the way in which the action is executed. The ASP.NET MVC framework includes several action filters:


Modified On May-08-2016 11:55:56 PM

Don't want to miss updates? Please click the below button!

Follow MindStick