Rabu, 30 Maret 2011
Enabling dynamic compression (gzip, deflate) for WCF Data Feeds, OData and other custom services in IIS7
I'm working on a thing that uses an HttpWebRequest to talk to a backend WCF Data Service and it'd be ideal if the traffic was using HTTP Compression (gzip, deflate, etc). On the client side, it's easy to just add code like thisrequest.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate or more manuallyvar request = HttpWebRequest.Create("http://foofoo");
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar