I have question about this plugin system: .NET 4.0 ASP.NET MVC 3 plug-in architecture with embedded views
It is possible when I start ptoject (web site local in visual studio using ctrl + f5) that when I delete plugin.dll from plugin folder. System automaticly detect it and disable module or when I will put new plugin .dll to plugin folder, system automaticly detect new plugin without rebuild completly solution ? I just need the plugin system which t will not need restart server when user is installing it to the aplication.
Thnaks for your help and sorry for my english !
Be careful with the plugins architecture : once you’ve loaded an assembly in an AppDomain, it cannot be unloaded ( see How to unload an assembly from the primary AppDomain? ).
You may want to have a look at MEF : http://msdn.microsoft.com/en-us/library/system.componentmodel.composition%28VS.100%29.aspx