Interviews2 answers
How can we achieve Master Page concept in ASP.NET MVC application?
Ankit Kumar
Posted Sep 11, 2012, 8:00 PM EDT2 Answers
On creating a view for a controller we can select the layout page ( we can say master page in asp.net) and according to we can even select strongly typed models, type of view like create,edit and empty.Architecture(MVC) will provide you the syntax (razor syntax).
vanama saishanthanPosted May 12, 2015, 10:51 PM EDT
Master Page concept is available in ASP.NET MVC. I presume you have checked the folder structure of an ASP.NET application?
If you have selected ASPX view engine you can see site.master under views/shared/ if you selected Razor view engine then under the same folder structure you can see _layout.cshtml (if your app uses C#).
I guess you know how to use master page?
Venkata Aditya KoradaPosted Sep 24, 2012, 12:51 PM EDT