Created
October 3, 2012 20:40
-
-
Save codingoutloud/3829717 to your computer and use it in GitHub Desktop.
Web.Release.config transform to apply a real Windows Azure SQL Database connection string
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!-- Source: https://gist.github.com/3829717 --> | |
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | |
<connectionStrings> | |
<add name="NameOfConnectionStringNeedsToMatchWhatsInRegularWebConfig" | |
connectionString= | |
"Server=tcp:abcd12hdj.database.windows.net,1433;Database=pop-tart;User ID=hopefullynonadminuser@abcd12bhdj;Password=TopSecretPassw0rd;Trusted_Connection=False;Encrypt=True;Connection Timeout=30;" | |
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/> | |
</connectionStrings> | |
<system.web> | |
<compilation xdt:Transform="RemoveAttributes(debug)" /> | |
</system.web> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment