client/test/unitTest/UnitTest/UnitTest.Web/Web.Release.config
author totetm <>
Fri, 12 Feb 2010 16:22:57 +0100
changeset 47 9b26023b8c83
parent 33 8a41c4969cc1
permissions -rw-r--r--
Fixed| bug si on ferme un livre en le lisant ReFixed|faire fonctionner le seek, même quand play n'est pas activer
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
33
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
     1
<?xml version="1.0"?>
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
     2
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
     3
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
     4
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
     5
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
     6
  <!--
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
     7
    In the example below, the "SetAttributes" transform will change the value of 
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
     8
    "connectionString" to use "ReleaseSQLServer" only when the "Match" locator 
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
     9
    finds an atrribute "name" that has a value of "MyDB".
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
    10
    
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
    11
    <connectionStrings>
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
    12
      <add name="MyDB" 
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
    13
        connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" 
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
    14
        xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
    15
    </connectionStrings>
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
    16
  -->
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
    17
  <system.web>
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
    18
    <compilation xdt:Transform="RemoveAttributes(debug)" />
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
    19
    <!--
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
    20
      In the example below, the "Replace" transform will replace the entire 
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
    21
      <customErrors> section of your web.config file.
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
    22
      Note that because there is only one customErrors section under the 
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
    23
      <system.web> node, there is no need to use the "xdt:Locator" attribute.
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
    24
      
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
    25
      <customErrors defaultRedirect="GenericError.htm"
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
    26
        mode="RemoteOnly" xdt:Transform="Replace">
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
    27
        <error statusCode="500" redirect="InternalError.htm"/>
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
    28
      </customErrors>
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
    29
    -->
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
    30
  </system.web>
8a41c4969cc1 Unit Test Project
totetm <>
parents:
diff changeset
    31
</configuration>