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