Compression with NetTcpBinding

Jul 7, 2009 at 9:36 AM

Understandably, there's a lot of talk about compressing HTTP/SOAP communication.

Is it possible to use wcfextensions to compress binary messages too, such as those sent via NetTcpBinding?  Using a packet sniffer, I captured a stream of data and tried zipping it.  I was able to cut 70% of the size, so clearly the data sent in this scenario contains a lot of redundancy.

An example of how to do this would be great.