Answer the question
In order to leave comments, you need to log in
One Layout for multiple ASP.NET MVC applications?
Good afternoon, hackers.
There are several ASP.NET MVC (Razor) sites that use one MasterPage (Layout).
At the moment, each project has its own Layout with the same content, and in order to make changes in it, you have to edit them all, which is very inconvenient - you can forget to correct some.
How can I make sure that there is one Layout file that can be used in several applications?
Answer the question
In order to leave comments, you need to log in
You can try to dig in the direction of VirtualPathProvider or BuildEngine - one of them can be trained to find this file, wherever it is.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question