annotate Demo/WebServices/NorthwindDataService/Web.Release.config @ 9:1e85f66cf767 default tip

update bltoolkit
author nickolay
date Thu, 05 Apr 2018 20:53:26 +0300
parents f990fcb411a9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
1 <?xml version="1.0"?>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
2
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
3 <!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
4
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
5 <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
6 <!--
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
7 In the example below, the "SetAttributes" transform will change the value of
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
8 "connectionString" to use "ReleaseSQLServer" only when the "Match" locator
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
9 finds an atrribute "name" that has a value of "MyDB".
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
10
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
11 <connectionStrings>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
12 <add name="MyDB"
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
13 connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
14 xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
15 </connectionStrings>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
16 -->
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
17 <system.web>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
18 <compilation xdt:Transform="RemoveAttributes(debug)" />
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
19 <!--
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
20 In the example below, the "Replace" transform will replace the entire
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
21 <customErrors> section of your web.config file.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
22 Note that because there is only one customErrors section under the
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
23 <system.web> node, there is no need to use the "xdt:Locator" attribute.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
24
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
25 <customErrors defaultRedirect="GenericError.htm"
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
26 mode="RemoteOnly" xdt:Transform="Replace">
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
27 <error statusCode="500" redirect="InternalError.htm"/>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
28 </customErrors>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
29 -->
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
30 </system.web>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
31 </configuration>