I have some common web pages that will be in multiple MVC applications. For those pages I'd like to reuse the same source code (controllers + views) between the different MVC web sites. What is the best way to go about doing this?
ASP.NET MVC areas seem like one possibility but they just a sub directory of the website project. Is it possible to reuse an MVC area in multiple MVC applications?
Look at "portable areas."
来源:https://stackoverflow.com/questions/2840302/reuse-an-mvc-area-in-multiple-mvc-applications