2
Reply

How can we achieve Master Page concept in ASP.NET MVC application?

Ankit Kumar

Ankit Kumar

12y
1.9k
0
Reply

    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).

    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?