WCF REST Compression

Posted by PhilJ on Stack Overflow See other posts from Stack Overflow or by PhilJ
Published on 2009-09-09T21:45:35Z Indexed on 2010/06/01 5:13 UTC
Read the original article Hit count: 742

Filed under:
|
|
|

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.

© Stack Overflow or respective owner

Related posts about wcf

Related posts about rest