WCF REST Compression
- by PhilJ
I have a REST service that returns a large chunk of XML, about 150k worth.
e.g. http://xmlservice.com/services/RestService.svc/GetLargeXML
Therefore I want to compress the response from the server, as GZIP should reduce this to something much smaller. Having searched everywhere I cannot for the life of me find an example of how to perform compression for WCF REST services. Help!!
NOTE: My service is hosted by a third party and I CANNOT do this via IIS as it is not supported by them.