Reputation: 895
We are having the two different website running for different products (both sites have different MVC projects) . I would like to create the forum software using ASP.NET MVC.
Can any one help how can i reuse Forum (Views & Controller) in two different sites ?.
Upvotes: 1
Views: 1539
Reputation: 13865
You could also use .Net Libraries, and then link your controllers to that.
Upvotes: 2
Reputation: 8020
Check this out: http://www.chrisvandesteeg.nl/2010/11/22/embedding-pre-compiled-razor-views-in-your-dll/ You should be able to reuse assemblies and create relative paths.
Upvotes: 1