Official Plugin Framework for MVC Project RRS feed

  • Question

  • Hi All,

    I'm creating a plugin-able project for my company and found this article which is very close (http://www.codeproject.com/Articles/358360/NET-4-0-ASP-NET-MVC-3-plug-in-architecture-with-e) to our project requirement. However, I wonder is there an official way to create plugin architecture or framework for MVC project? Does msdn has an official article(s)/samples to show how-to topic? Or do you have an alternative way that most people/company are using?

    Not sure if I'm at the right forum, please move if necessary.



    Monday, October 15, 2012 10:31 PM

All replies

  • What are you looking for that is over and above templates?


    Tuesday, October 16, 2012 2:13 PM
  • Templates are not the right solution for us. We want to create an app that can be extendable by clients, they can create their own plugin and plug to our main app without accessing our source code. We only need to provide the tools for them to create their own.


    Tuesday, October 16, 2012 3:17 PM
  • I mention templates because if you are using compiled views, as you suggested, then you only need to pass the model into a plug-in controller and then, via DisplayForModel, the compiled view would render the model. You could potentially do all sorts of things from the model view, partial views, other controllers, etc. The built-in discovery means you can just drop the dll into the web site. Perhaps you want more isolation than that, or have other requirements?


    Friday, October 19, 2012 2:36 PM