What are the Filters in MVC ?
1176
21-Aug-2020
Updated on 23-Sep-2020
Shrikant Mishra
21-Aug-2020At times you want to execute some logic either before the execution of the action method or after the execution. You can use Action Filter for such kind of scenario. These Filters define the logic which is executed before or after the execution of the action method. The Action Filters are attributes which we can apply to the action methods. Following are the MVC action filter types: