I have several ASP.NET MVC 3 Web applications that have a lot of common objects:
- The same login controller. The few differences between their login systems are captured in their
web.config
files. - Header/detail views: invoices, payment orders, payment orders, etc.
In order to make my code less redundant, I moved common controllers and views to a separate class library (models were already in their own class libraries). After googling for a while, I eventually found out how to call controllers in external assemblies, however, I still don't know how to call views in external assemblies. How do I do that?