在asp.net mvc4中的MasterPage [英] MasterPage in asp.net mvc4

查看:93
本文介绍了在asp.net mvc4中的MasterPage的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello EveryOne!

伙计们!我陷入困境...(我想在Asp.net Mvc4中添加我的自己的MasterPage 这显示了我的所有(索引,联系我们,关于我们等)页面..)。

我曾在Asp.net Web Form MasterPage工作过。

在mvc4中,我对 {-Layout.cshtml和Masterpage} 。

可以任何一个解释或任何好的链接。

解决方案

请阅读下面的文章了解更多信息。 :)



使用Razor的ASP.NET MVC布局



使用View母版页创建页面布局

Hello EveryOne!
guys!i am stuck in problem..(i want to add my Own MasterPage in Asp.net Mvc4 which is shows all my(index,contact us,about us etc) pages..).
i have worked in Asp.net Web Form MasterPage.
Here in mvc4,i am confused with the concept of {-Layout.cshtml and Masterpage}.
Can any one Explain or any good link.

解决方案

Please read below great articles for more info. :)

ASP.NET MVC Layouts with Razor

Creating Page Layouts with View Master Pages


这篇关于在asp.net mvc4中的MasterPage的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆