WCF HttpTransport: streamed vs buffered TransferMode
As you use ‘GZipMessageEncodingBindingElement’, I assume you are using the MS GZIP sample. Have a look at DecompressBuffer() in GZipMessageEncoderFactory.cs and you will understand what’s going on in buffered mode. For the sake of example, let’s say you have a message of uncompressed size 50M, compressed size 25M. DecompressBuffer will receive an ‘ArraySegment buffer’ param … Read more