1 Star 0 Fork 43

andylaufzf / Daimali.ISV

forked from 李伟(CodeL) / Daimali.ISV 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Web.Debug.config 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
李伟(CodeL) 提交于 2016-07-14 20:42 . no commit message
<?xml version="1.0" encoding="utf-8"?>
<!-- 有关使用 web.config 转换的详细信息,请访问 http://go.microsoft.com/fwlink/?LinkId=125889 -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!--
在下例中,“SetAttributes”转换将更改
connectionString”的值,仅在“Match”定位器
查找到值为“MyDB”的特性“name”时使用“ReleaseSQLServer”。
<connectionStrings>
<add name="MyDB"
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings>
-->
<system.web>
<!--
在下例中,“Replace”转换将替换
Web.config 文件的整个 <customErrors> 节。
请注意,由于
在 <system.web> 节点下仅有一个 customErrors 节,因此不需要使用“xdt:Locator”特性。
<customErrors defaultRedirect="GenericError.htm"
mode="RemoteOnly" xdt:Transform="Replace">
<error statusCode="500" redirect="InternalError.htm"/>
</customErrors>
-->
</system.web>
</configuration>
C#
1
https://gitee.com/andylaufzf/Daimali.ISV.git
git@gitee.com:andylaufzf/Daimali.ISV.git
andylaufzf
Daimali.ISV
Daimali.ISV
master

搜索帮助