Understanding Compression and Decompression in ASP.NET 2.0
page 1 of 6
Published: 13 Jul 2007
The article highlights the compression and decompression features in ASP.NET 2.0 with the help of code samples.
Average Rating: 
Views (Total / Last 10 Days): 34631/ 75


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#.

View Entire Article

User Comments

No comments posted yet.

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-05-23 2:46:32 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search