I need help on developing an ASP.net MVC4 application with pluggable modules approach. I tried to use Areas for this but this is not very handy to use with plugging two different solutions. My target is to develop a module app (A) that can be pluggable to any other web applications (X,Y,Z).
I need some guidance to achieve this.
Thanks
You could take a look at the following guide which illustrates how you could embed Razor views as resources in class libraries. The idea is to write a custom VirtualPathProvider which will be able to serve your views from non-standard locations (such as views embedded in other assemblies).
And here's a sample application which is using the RazorGenerator library.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With