By: velocity too
Great help, thank you! One silly question: why did you name the property “Position” instead of “Order” as it is named in the mirrored System.Web.Mvc.FilterAttribute class? That way, if it ever is moved...
View ArticleBy: Chris Padgett
A great post, Filip. I believe the actionDescriptor.GetFilters() call should select a collection of CustomFilterInfos that are scoped to FilterScope.Action, not FilterScope.Controller. Is that right?...
View ArticleBy: Richard Lawley
In its current form, this will prevent any global filters from being applied. The FilterProvider must be modified to also include configuration.Filters as well.
View ArticleBy: JordanM
Brilliant – thank you so much for sharing this code. I would never have had time to investigate this myself this week. Thanks again.
View ArticleBy: Ibrahim
Nice article but what if I want globally defined filters to be included in the equation as well?
View ArticleBy: Md.Ibrahim
I implemented your solution exactly but it is not respecting the custom order and executing controller scoped action filter before anyway.
View ArticleBy: thejmack
I’m curious how to have the filters respect the position/order to include those that are applied to base controllers. E.g. on basecontroller you have an actionfilterA with a position of 1 (or 0), and...
View Article
More Pages to Explore .....