Skip to content

Instantly share code, notes, and snippets.

@domgreen
Created April 16, 2011 16:15
Show Gist options
  • Save domgreen/923235 to your computer and use it in GitHub Desktop.
Save domgreen/923235 to your computer and use it in GitHub Desktop.
Configuration file for utilizing the ServiceManagementAPI on Azure
<configuration>
<system .servicemodel="">
<bindings>
<webhttpbinding>
<binding name="WindowsAzureServiceManagement_WebHttpBinding" closetimeout="00:01:00" opentimeout="00:01:00" receivetimeout="00:10:00" sendtimeout="00:01:00">
<readerquotas maxstringcontentlength="1048576" maxbytesperread="131072">
<security mode="Transport">
<transport clientcredentialtype="Certificate">
</transport>
</security>
</readerquotas>
</binding>
</webhttpbinding>
</bindings>
<client>
<endpoint name="WindowsAzureEndPoint" contract="Microsoft.Samples.WindowsAzure.ServiceManagement.IServiceManagement"
binding="webHttpBinding"
address="https://management.core.windows.net"
bindingconfiguration="WindowsAzureServiceManagement_WebHttpBinding">
</endpoint>
</client>
</system>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment