I need to write a web application with ASP.NET MVC 3 that should be completely modular and extensible. A module/extension would be, for example - a forum, a blog or a content module.
I thought about using multi-project MVC areas for this purpose, so I have an Extensions/
directory with the .dll
-s of the extensions, and on Application_Start
(or maybe on an earlier step), it loads all the extensions in that directory to current AppDomain.
Is there any better way to do this? I mean, maybe not using MVC areas at all? Maybe using MEF? I have a very little experience with MEF, and I'd like to learn, but I just don't know if that fits my project. Maybe using MVC Areas + MEF?
As you can see, I'm pretty confused and would like to have a clarification :)
Thanks.