Click here to Skip to main content
14,268,557 members
Rate this:
Please Sign up or sign in to vote.
See more:
As we knew in MVC we have five filters:

Authentication filters
Authorization filters
Action filters
Result filters
Exception filters

so which is one invoked at the end?

What I have tried:

I have looked at this but not pretty much sure.
Filtering in ASP.NET MVC | Microsoft Docs[^]
Posted
Updated 32 mins ago
v3
Rate this:
Please Sign up or sign in to vote.

Solution 1

Seems pretty clear.

Filters in ASP.NET MVC[^]
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

There are the following types of filters that can be implemented to inject custom processing logic

1. Authorization filter
2. Action filter
3. Result filter
4. Exception filter

Exception filter will be executed at the end in MVC
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100