Jan 31, 2012 at 4:15 PM
Edited Jan 31, 2012 at 4:18 PM
I already read the topic here:
http://wcf.codeplex.com/discussions/235739 but it looks like it's now working in
I host my service in IIS7 (full, not express) and the compression is enabled.
The service is very simple and the client is a console application requesting a json result (via accept header).
var handler = new WebRequestHandler();
handler.AutomaticDecompression =System.Net.DecompressionMethods.GZip | System.Net.DecompressionMethods.Deflate;
_client = new HttpClient(handler);
I can read the json string from the service but Fiddler show the result as uncompressed.
Should I do anything else?