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
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Diagnostics;
using Microsoft.WindowsAzure.ServiceRuntime;

namespace WebRole1
{
    public class WebRole : RoleEntryPoint
    {
        public override bool OnStart()
        {
            // For information on handling configuration changes
            // see the MSDN topic at http://go.microsoft.com/fwlink/?LinkId=166357.

            return base.OnStart();
        }
    }
}