Skip to content

Instantly share code, notes, and snippets.

@leekelleher
Created August 22, 2012 19:22
Show Gist options
  • Save leekelleher/3428543 to your computer and use it in GitHub Desktop.
Save leekelleher/3428543 to your computer and use it in GitHub Desktop.
Web.config transform for Umbraco core development
<?xml version="1.0"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<appSettings>
<add xdt:Transform="Replace" xdt:Locator="Match(key)" key="umbracoDbDSN" value="server=.\SQLEXPRESS;database=umbraco;integrated security=true"/>
<!--<add xdt:Transform="Replace" xdt:Locator="Match(key)" key="umbracoDbDSN" value="datalayer=SQLCE4Umbraco.SqlCEHelper,SQLCE4Umbraco;data source=|DataDirectory|\Umbraco.sdf"/>-->
<!--<add xdt:Transform="Replace" xdt:Locator="Match(key)" key="umbracoDbDSN" value="datalayer=MySQL;database=umbraco;server=localhost;user id=username;password=password;"/>-->
<add xdt:Transform="Replace" xdt:Locator="Match(key)" key="umbracoConfigurationStatus" value="4.9.0"/>
<add xdt:Transform="Replace" xdt:Locator="Match(key)" key="umbracoUseMediumTrust" value="true"/>
</appSettings>
<system.web>
<trust level="Medium" originUrl=".*" xdt:Transform="Insert" />
<compilation debug="true" xdt:Transform="SetAttributes(debug)" />
</system.web>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment