WCF Azure Enable HTTP Compression Using Startup Script

This sample enables HTTP compression on a WCF WebRole using a startup script on Azure.

C# (192.6 KB)
 
 
 
 
 
5 Star
(3)
1,604 times
Add to favorites
4/27/2011
E-mail Twitter del.icio.us Digg Facebook
<?xml version="1.0" encoding="utf-8"?>
<ServiceConfiguration serviceName="AzureIISCompression" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="1" osVersion="*">
  <Role name="WebRole1">
    <Instances count="1" />
    <ConfigurationSettings>
      <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />
    </ConfigurationSettings>
  </Role>
</ServiceConfiguration>