I've been working with asp.net MVC and am still not very good at it. However, I have started wondering how would I go about creating applications that can be "plugged" or installed into an existing ASP.net MVC site with minimal complexity.
For example, in ASP.net web forms I developed a sort of Blogging app. In order to install this app I just need to drop a dll into the Bin folder, add a few web.config lines and then add controls to the aspx pages as needed. No other change needs to be made.
Now I'm working with MVC and I've come across partial views which seem to replace webform usercontrols in some way. However, it seems you still need to pass the partial view's data from the controller and that is at a higher level than the page. I'd have to modify controller code to install an app.
I'm pretty sure I am thinking about this with the wrong mindset. Is there a way to create applications for asp.net mvc that can be easily plugged into an existing web site?
Already answered in Plug-in architecture for ASP.NET MVC
See Also:
ASP.NET MVC Plugins
Plug-In Hybrids: ASP.NET WebForms and ASP.MVC and ASP.NET Dynamic Data Side By Side
ASP.NET MVC - how to implement the plugin architecture