The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

Web.Debug.config 1.2KB

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0"?>
  2. <!-- For more information on using Web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=301874 -->
  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. <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. <!--
  16. In the example below, the "Replace" transform will replace the entire
  17. <customErrors> section of your Web.config file.
  18. Note that because there is only one customErrors section under the
  19. <system.web> node, there is no need to use the "xdt:Locator" attribute.
  20. <customErrors defaultRedirect="GenericError.htm"
  21. mode="RemoteOnly" xdt:Transform="Replace">
  22. <error statusCode="500" redirect="InternalError.htm"/>
  23. </customErrors>
  24. -->
  25. </system.web>
  26. </configuration>