annotate Agendas/trunk/src/Agendas.Web/Web.Release.config @ 302:11dddcc9a862 tip

Historico de Eventos, no muestra bien la Url del Patrocinador.
author juanjose.montesdeocaarbos
date Tue, 14 Aug 2012 21:54:30 -0300
parents c62b77fc33f4
children
rev   line source
10
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
1 <?xml version="1.0"?>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
2
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
3 <!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
4
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
5 <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
6 <!--
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
7 In the example below, the "SetAttributes" transform will change the value of
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
8 "connectionString" to use "ReleaseSQLServer" only when the "Match" locator
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
9 finds an atrribute "name" that has a value of "MyDB".
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
10
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
11 <connectionStrings>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
12 <add name="MyDB"
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
13 connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
14 xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
15 </connectionStrings>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
16 -->
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
17 <system.web>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
18 <compilation xdt:Transform="RemoveAttributes(debug)" />
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
19 <!--
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
20 In the example below, the "Replace" transform will replace the entire
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
21 <customErrors> section of your web.config file.
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
22 Note that because there is only one customErrors section under the
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
23 <system.web> node, there is no need to use the "xdt:Locator" attribute.
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
24
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
25 <customErrors defaultRedirect="GenericError.htm"
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
26 mode="RemoteOnly" xdt:Transform="Replace">
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
27 <error statusCode="500" redirect="InternalError.htm"/>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
28 </customErrors>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
29 -->
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
30 </system.web>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
31 </configuration>