I'm using MEF to create a MVC 5 app that support plugins. Using a IControllerFactory and IOC from MEF I've got it working so that /app/specialcontroller/action calls the action and controller from the other dll (plugin).
The problem i have is that when the bundles and content are loaded, the controller factory is failing because content and bundles aren't exported from the plugin.
What I would like to happen is to use the Default factory for certain "controller" names.
Is this possible?
This is the answer I based it on... MEF with MVC 4 or 5 - Pluggable Architecture (2014)
When including app/bundles/jquery I want it to use the MVC controller for bundles
Hope that makes sense, thanks