Question

I am trying to figure out how to implement a "Plugin" framework with asp.net mvc. I have done some reading and found that many people recommended MEF for a plugin framework in asp.net mvc.

link: http://blog.maartenballiauw.be/post/2009/04/21/ASPNET-MVC-and-the-Managed-Extensibility-Framework-%28MEF%29.aspx

However, I'm running into a problem where I can't use ViewModels and other basic mvc components. I know that right now I'm a bit over my head. I'm looking for tutorials, books, and examples of a plugin pattern in action, but I can't find anything. And, most of the MEF documentation I find is a bit over my head (codeplex) or its from years ago before MEF was released in .NET 4.

Any direction/help would be greatly appreciated!!! I am not looking for MEF exclusive information. I've just been focusing on MEF because it's part of the actual .NET framework. I don't know if it can handle what I'm looking for.

Can you recommend any intermediate level resources on this subject?

Was it helpful?

Solution

For your viewmodels, which web.config did you modify? the one at the root or the one in the /Views dir. You need to do the later

Try this one: http://www.fidelitydesign.net/?p=104

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top