Can someone shed light on the advantages and disadvantages of using custom ActionInvoker in such a way as to inject dependencies on custom ActionFilters, rather than using a custom FilterProvider as shown here ?
In both cases, you still want to avoid constructor injection in your ActionFilters, and for me it seems that all the custom FilterProvider in this case add extra overhead to registering your ActionFilters and the provider in your container.
dependency-injection asp.net-mvc-3 unity-container
Andrew Best
source share