WCF Compression over HTTP sample

WCF service and client do not support HTTP Compression out of the box in .NET 3.5 even if you turn on Dynamic Compression in IIS 6 or 7. It has been fixed in .NET 4 but those who are stuck with .NET 3.5 for foreseeable future, you are out of luck.  First of all, it’s IIS fault

C# (157.1 KB)
5 Star
2,835 times
Add to favorites
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question

  • .Net Compact Framework?
    1 Posts | Last post December 12, 2013
    • Hi,
      Great article, but can anyone explain how to do this in .Net Compact Framework? I need to be able to turn on compression from a Windows Mobile application that is making web services calls. The application is built in Visual Studio 2008, .Net Compact Framework v3.5. The application is written in VB.Net, although I could probably convert a C# example to VB if necessary
      Many Thanks
  • WCF compression over HTTPs
    1 Posts | Last post July 18, 2012
    • Will the same configuration work over HTTPS protocol? In .Net 4.0 & 4.5 it is clearly mentioned that compression will work over HTTP, HTTPS and TCP protocols. 
      Thanks in advance.