System.IO.Compression namespace is a new addition in .NET
2.0 Framework. The System.IO.Compression namespace contains classes, namely
DeflateStream and GZipStream, which provide basic compression and decompression
services for streams. DeflateStream provides methods and properties for
compressing and decompressing streams using the Deflate algorithm. GzipStream
provides methods and properties used to compress and decompress streams using
gzip algorithm. Besides compressing files, one other very good use of new
compression features is to implement our own HTTP Module class that compress
the HTTP output of our application. The sample code snippets have been written
in C#.