首页 > Web开发 > 详细

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

时间:2015-02-04 18:15:55      阅读:242      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!