Custom ResourceProviderFactory Dependency Injection
问题 Is there anywhere in ASP.NET MVC where you can get a reference to the ResourceProviderFactory that is instantiated in order to perform Property Injection to add a custom DB Implementation to retrieve the resources from? I have a custom resource provider being loaded but I wanted to know whether there was an alternative to using a Static DI container to inject the dependency within the Provider. Similar to how you can inject for the Role and Membership providers in MVC. 回答1: The trick is to