This is a major issue for me. In earlier times, web service clients could simply use EnableDecompression = true and all was good, but why did Microsoft not add something similar to WCF?
I really NEED gzip compressed responses from my WCF services (and they need to be http… legacy issues, as usual… you know…).
Check out this blog post which basically ends up suggesting:
There’s also a WCF Extensions project on Codeplex which has a WCF Compression Channel – maybe that’ll be what you’re looking for.
The most bang for the buck would be to use the
binaryMessageEncodingin WCF instead of the textMessageEncoding (which is the default for HTTP bindings). That would require you to create a custom http based binding, and would render your service incompatible with other http-based clients other than .NET clients that are also using the same custom binding configuration.