You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.5 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  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 attribute "name" that has a value of "MyDB".
  8. -->
  9. <connectionStrings>
  10. <add name="SevominConnectionString"
  11. connectionString="Data Source=localhost;Initial Catalog=sdojgdbf_sevomin;Persist Security Info=True;User ID=sdojgdbf_sevomin;Password=HKJ32asd0#@dsa;MultipleActiveResultSets=True;Pooling=False"
  12. providerName="System.Data.SqlClient"
  13. xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
  14. </connectionStrings>
  15. <system.web>
  16. <compilation xdt:Transform="RemoveAttributes(debug)" />
  17. <!--
  18. In the example below, the "Replace" transform will replace the entire
  19. <customErrors> section of your web.config file.
  20. Note that because there is only one customErrors section under the
  21. <system.web> node, there is no need to use the "xdt:Locator" attribute.
  22. <customErrors defaultRedirect="GenericError.htm"
  23. mode="RemoteOnly" xdt:Transform="Replace">
  24. <error statusCode="500" redirect="InternalError.htm"/>
  25. </customErrors>
  26. -->
  27. </system.web>
  28. </configuration>