码迷,mamicode.com
首页 > Web开发 > 详细

Web Pages version 2兼容 Web Pages version 1的设置

时间:2015-02-04 18:18:06      阅读:150      评论:0      收藏:0      [点我收藏+]

标签:

  • If you want to run a site using Web Pages version 1 (instead of the default, as in the previous point), you can configure the site to do that. If your site doesn‘t already have a web.config file in the root of the site, create a new one and copy the following XML into it, overwriting the existing content. If the site already contains aweb.config file, add an <appSettings> element like the following one to the <configuration> section.

    <?xml version="1.0"?>
    <configuration>
    <appSettings>
    <add key="webPages:Version" value="1.0"/>
    </appSettings>
    </configuration>

Web Pages version 2兼容 Web Pages version 1的设置

标签:

原文地址:http://www.cnblogs.com/imust2008/p/4272711.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!