PageRenderTime 39ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/V4/Quickstarts/BasicMVVM/BasicMVVMApp.Web/Web.Release.config

#
ASP.NET | 31 lines | 6 code | 2 blank | 23 comment | 0 complexity | b6c1fb4cdb8f0c2c14be976951079c8d MD5 | raw file
  1. <?xml version="1.0"?>
  2. <!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
  3. <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
  4. <!--
  5. In the example below, the "SetAttributes" transform will change the value of
  6. "connectionString" to use "ReleaseSQLServer" only when the "Match" locator
  7. finds an atrribute "name" that has a value of "MyDB".
  8. <connectionStrings>
  9. <add name="MyDB"
  10. connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
  11. xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
  12. </connectionStrings>
  13. -->
  14. <system.web>
  15. <compilation xdt:Transform="RemoveAttributes(debug)" />
  16. <!--
  17. In the example below, the "Replace" transform will replace the entire
  18. <customErrors> section of your web.config file.
  19. Note that because there is only one customErrors section under the
  20. <system.web> node, there is no need to use the "xdt:Locator" attribute.
  21. <customErrors defaultRedirect="GenericError.htm"
  22. mode="RemoteOnly" xdt:Transform="Replace">
  23. <error statusCode="500" redirect="InternalError.htm"/>
  24. </customErrors>
  25. -->
  26. </system.web>
  27. </configuration>