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,603 times
Add to favorites
4/27/2011
E-mail Twitter del.icio.us Digg Facebook
"%SystemDrive%\Windows\System32\inetsrv\appcmd.exe" set config -section:system.webServer/httpCompression /+"dynamicTypes.[mimeType='application/msword',enabled='True']" /commit:apphost