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

Posted on    May-19-2012 3:20 AM

 1 Answer(s)
  5379  View(s)
Rate this:

Tanuj Kumar

Total Post:30

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