I finally had the opportunity to look into traffic compression using gzip / deflate on IIS6, and utilising the compression in Web Service calls in our C# project, netBake.
This article gives instructions on enabling compression on static and dynamic contents in IIS6.
Now, this only tells the server that if the client can requests compressed content, then send it. If you’re using Web Services, then they have to actually request the content in a compressed form in the first place, and be able to handle it when it arrives.
This article explains how using a wrapper class around each Web Reference invisibly requests compressed content and inflates the content when it is received.
All very useful if you’re passing large amounts of XML data back and forth.
[Via: wwwcoder, Dr. Dobbs Portal]
March 27th, 2007