在mvc中添加元标记的问题 [英] problem in add meta tag in mvc

查看:87
本文介绍了在mvc中添加元标记的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这行是什么意思

在cshtml文件中

@model PetStore.ViewModels.ShopOnlineView

解决方案

@model指令提供了一种更清晰,更简洁的方法来从视图文件中引用强类型模型。



如需了解更多信息,请参阅: Asp.net MVC 3新模型指令支持Razor


访问这里......



http://www.c-sharpcorner.com/UploadFile/abhikumarvatsa/adding-metatags-on-cshtml- pages-in-mvc / [ ^ ]







http://www.itorian.com/2013/01/adding-metatags-on-cshtml-pages-in-mvc.html [ ^

what this line means
in cshtml file
 @model PetStore.ViewModels.ShopOnlineView

解决方案

The @model directive provides a cleaner and more concise way to reference strongly-typed models from view files.

For more info kindly refer: Asp.net MVC 3 New Model Directive Support In Razor


visit here...

http://www.c-sharpcorner.com/UploadFile/abhikumarvatsa/adding-metatags-on-cshtml-pages-in-mvc/[^]

or

http://www.itorian.com/2013/01/adding-metatags-on-cshtml-pages-in-mvc.html[^]


这篇关于在mvc中添加元标记的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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