Click here to Skip to main content
15,886,724 members
Articles / Web Development / ASP.NET

.NET 4.0 ASP.NET MVC 3 plug-in architecture with embedded views

Rate me:
Please Sign up or sign in to vote.
4.92/5 (60 votes)
8 Jul 2013CPOL5 min read 188.4K   11.5K   146  
MVC 3 plugin architecture with embedded razor views: steb-by-step description and demo application.
ASP.NET MVC 3 plug-in architecture example.


All the plugins dlls are compiled in the directory PluginBin on the same root with the solution file.
The plugins are searched in the plugins directory inside the Web Application, the relative path to the solution file is PluginTest.Web/plugins
First make sure that the project is compiled and then copy the contents from PluginBin to PluginTest.Web/plugins
Make sure that the webserver is stopped or restart the webserver and run the application.
Feel free to play with the plugins by deleteing one or more and then restart the application and see the results.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Germany Germany
.NET & JavaScript Senior Software Lead Developer & Architect.
Since 2005 worked with most of .NET technologies (Windows Forms, ASP.NET, WCF, WPF, XNA) and for some years passionate about JavaScript and client JavaScript Architecture.

Comments and Discussions