Using Wcf with gzip compression
问题 We have a wcf service that takes large amount of data. As a requirement we want to take the request objects gzipped and response them using the same compression. How can I do this? I couldn't find any document describing this issue. How can I develop a wcf soap service that works like that and how to consume this kind of services? 回答1: Microsoft has a sample that demonstrates this (you can compile their code, and simply plug it into your application) GZip Encoder Sample There is a more