什么是网页:版本的设置吗? [英] What does the webpages:Version setting do?

查看:130
本文介绍了什么是网页:版本的设置吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在创建使用ASP.Net MVC 3工具它增加了以下应用程序设置到Web.config一个新项目:

When creating a new project using the ASP.Net MVC 3 tools it adds the following application setting to the Web.config:

<appSettings>
  <add key="webpages:Version" value="1.0.0.0"/>
</appSettings>

这是什么做的?

推荐答案

这是最近在ASP.NET MVC介绍3个项目(安装<一后href=\"http://www.microsoft.com/downloads/en/details.aspx?FamilyID=82cbd599-d29a-43e3-b78b-0f863d22811a\">ASP.NET MVC 3工具更新)。我想这是preparation用于处理ASP.NET MVC 4即将发布的网页(剃刀),在这里您将能够选择的Razor视图引擎的版本与您的应用程序。目前,它并没有做太多。

This was recently introduced in ASP.NET MVC 3 projects (after installing the ASP.NET MVC 3 Tools Update). I guess it is in preparation for handling upcoming WebPages releases (Razor) in ASP.NET MVC 4 where you will be able to choose the version of the razor view engine with your application. Currently it doesn't do much.

这篇关于什么是网页:版本的设置吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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