What is the Order of Filter Execution in ASP.NET MVC ?
There is predefined order in which Filter in ASP.NET MVC executes .
Here it is order which should follow :
Authorization filters - Authorization filter is executed before the execution of any other filters
Action Filters - Action filters are executed after authorization filter.
Result filters - Result filter executed after action filter
Exception filters - Exception filters executes at the last if any exception encountered.
Filter in ASP.NET MVC , Razor , AngularJS , MVC , what are order of filter execution ?
0 comments:
Post a Comment