Last change
on this file since 9716 was
9589,
checked in by pfleck, 11 years ago
|
#2063:
Added Asp.net MVC project and all required libraries.
Added publish profile to web services and web pages.
|
File size:
1.3 KB
|
Rev | Line | |
---|
[9589] | 1 | <?xml version="1.0"?>
|
---|
| 2 |
|
---|
| 3 | <!-- For more information on using Web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
|
---|
| 4 |
|
---|
| 5 | <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
---|
| 6 | <!--
|
---|
| 7 | In the example below, the "SetAttributes" transform will change the value of
|
---|
| 8 | "connectionString" to use "ReleaseSQLServer" only when the "Match" locator
|
---|
| 9 | finds an atrribute "name" that has a value of "MyDB".
|
---|
| 10 |
|
---|
| 11 | <connectionStrings>
|
---|
| 12 | <add name="MyDB"
|
---|
| 13 | connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
|
---|
| 14 | xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
|
---|
| 15 | </connectionStrings>
|
---|
| 16 | -->
|
---|
| 17 | <system.web>
|
---|
| 18 | <!--
|
---|
| 19 | In the example below, the "Replace" transform will replace the entire
|
---|
| 20 | <customErrors> section of your Web.config file.
|
---|
| 21 | Note that because there is only one customErrors section under the
|
---|
| 22 | <system.web> node, there is no need to use the "xdt:Locator" attribute.
|
---|
| 23 |
|
---|
| 24 | <customErrors defaultRedirect="GenericError.htm"
|
---|
| 25 | mode="RemoteOnly" xdt:Transform="Replace">
|
---|
| 26 | <error statusCode="500" redirect="InternalError.htm"/>
|
---|
| 27 | </customErrors>
|
---|
| 28 | -->
|
---|
| 29 | </system.web>
|
---|
| 30 | </configuration> |
---|
Note: See
TracBrowser
for help on using the repository browser.