action filter in mvc
sam
378
Points
48
Posts
|
Hi, I am working on MVC. What are action filter? How can we create custom action filter? |
Brian
2376
Points
13
Posts
|
Hi Sam, Action filters are attributes that you can put on Action or entire controller. Action filters modify the way in which Action executing. MVC provides different inbuilt Action Filter as
You can also create you own Action Filter. For suppose you want to create custom authentication system or log the user activity or going to modify the response content (minify the response contents) etc. In all cases you can create you custom Action Filter. For create a new custom Filter you need to know different type of Action Filters:
Filters are executed in the order listed above. The base class of action filters is the
Posted On:
04-Jan-2016 05:39
|
Rahul M...
4916
Points
27
Posts
|
Hi Sam, You can refer to the blog https://www.niceonecode.com/Blog/DotNet/MVC/Action-Filter-in-ASP_NET-MVC-Applications/4
Posted On:
18-Feb-2016 08:32
|