Support us .Net Basics C# SQL ASP.NET Aarvi MVC Slides C# Programs Subscribe Download

Part 69 - Action filters in mvc

Suggested Videos 
Part 66 - Check uncheck all checkboxes using jquery
Part 67 - Action selectors
Part 68 - What is the use of NonAction attribute



What are action filters in asp.net mvc?
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 actions within 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 an action is executed.



Name a few action filters in mvc?
Authorize 
ChildActionOnly
HandleError
OutputCache 
RequireHttps
ValidateInput
ValidateAntiForgeryToken 

We will discuss each of these action filters in detail in our upcoming videos.

Can you create a custom action filter in mvc?
Yes, we will discuss this in a later video session.

1 comment:

  1. Nice and i want one more example in mvc how to post back dropdown list selectedindex change event and fill another dropdown list please give me one full plezed
    video tutorial on it,it will help full to how to do form postback in mvc using jquery

    ReplyDelete

It would be great if you can help share these free resources