First let me say, remarkable work. This is absolutely the closest I've found to the "holy grail" of hot-swappable MVC controllers & views. That it unpacks nuget packages and loads from there is 100% what I've dreamt of (short of a service that polls nuget feeds and downloads updates to the plugins folder).
I tried adding Prise to a solution with one main WebApp and several Razor Class Libraries with their own views and controllers and was able to load/update one of the RCL projects at runtime. The only flaw I ran into there was that the views (usually merged into the main project at build/start) weren't found so I could only return content results.
I may be pushing this farther than was intended, or farther than anyone has time to devote to making possible but if down the road you could reference & update RCL packages at runtime that would be a stunning achievement.
Thanks again!
James White
First let me say, remarkable work. This is absolutely the closest I've found to the "holy grail" of hot-swappable MVC controllers & views. That it unpacks nuget packages and loads from there is 100% what I've dreamt of (short of a service that polls nuget feeds and downloads updates to the plugins folder).
I tried adding Prise to a solution with one main WebApp and several Razor Class Libraries with their own views and controllers and was able to load/update one of the RCL projects at runtime. The only flaw I ran into there was that the views (usually merged into the main project at build/start) weren't found so I could only return content results.
I may be pushing this farther than was intended, or farther than anyone has time to devote to making possible but if down the road you could reference & update RCL packages at runtime that would be a stunning achievement.
Thanks again!
James White