提醒:ASP.NET MVC 3 Beta: View start files for Razor view engine 2011年04月09日

来自: Community Blogs
订阅:icyflash, frezzz
演示:以MSN订阅提醒为例 订阅到哪吒,有更新提醒我
哪吒机器人提醒:
提醒:Community Blogs
【标题】ASP.NET MVC 3 Beta: View start files for Razor view engine
【摘要】to follow better dry (don’t repeat yourself) principle razor views support now defaults that are applied to all views in asp.net mvc web application. default can be applied by special file so you have one place where everything common is defined. in this posting i will show you how defaults work and how to use them. view start files if you create new asp.net mvc 3 beta web application you will find there file called _viewstart.cshtml. in vb.net projects this file is called _viewstart.vbhtml. by ... (04-09 16:24)
收藏 |  评论 |  推荐给好友  | 
本文共有 0 次分享
评论
共有 - 条评论


我要反馈