Tony’s Weblog

ASP.NET, MVC, AJAX, SilverLight, C#, WCF Web Service, SQL 2005 and other interesting stuff.

Compression Decompression in .NET

Posted by Tony on September 1, 2008

DeflateStream and GZipStream classes present in System.IO.Compression namespace provide compression and decompression capabilities. GZipStream compresses the serialized content of application, with great results. These classes operate on file streams.


The compression through these classes will likely be less than what can be achieved with a file compression utility. But the good thing is that we have this functionality include in .NET Framework 2.0 and above. As Microsoft said this namespace will be further enhanced and modified in the next versions.


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: