Skip to content

Instantly share code, notes, and snippets.

@janisz
Created August 9, 2013 08:24
Show Gist options
  • Save janisz/6192007 to your computer and use it in GitHub Desktop.
Save janisz/6192007 to your computer and use it in GitHub Desktop.
Transformation for web.config to enable security on QA/Production
<system.serviceModel>
<bindings>
<webHttpBinding>
<binding
xdt:Locator="Condition(@name='webHttpBindingWithJson')">
<security
mode="Transport"
xdt:Transform="SetAttributes(mode)" />
</binding>
</webHttpBinding>
</bindings>
</system.serviceModel>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment