What is up with 'GZIP' for .NET?
File compression, software application and/or industry standard extension to the deflate compression algorithm. It makes it possible for a header to carry additional information.
Short-form: GNU zip (it is free, the ‘g’, for gratis). The gzip Filename extension is .gz . For Internet media type application/x-gzip, based on the DEFLATE algorithm, (combining LZ77 and Huffman coding) (see deflate elsewhere).
This data compression algorithms derivative, result and enabler, (gzip file format) can technically be defined, as consisting of:
• 10-byte header, (magic number, version number and timestamp, optional extra headers, like an original file name)
• The body, containing a DEFLATE-compressed payload
• 8-byte footer, containing a CRC-32 checksum and the length of the original uncompressed data
Compressed archives are typically created by assembling collections of files into a single tar archive, and then compressing that archive with gzip. The final .tar.gz or .tgz file is usually called a tarball. Not the same as ZIP. A corresponding program for uncompressing gzipped files is gunzip. It is a performance enhancer and content-encoding enabler. (For the future: keeping an eye on follow-up application called bzip2, a file compression utility based on a block-sorting algorithm).
Key Exam Points
- Use GZIP for file and stream compresssion use, NET performance improvements, less storage space. Review chapters, content and references to it in Fundamentals, Input/Output, Reading and Writing Files and Streams, GZIP, GZIPStream files and enumerations.
- For the exam study examples for GZIP, GZIPStream, that help you to gain a better understanding of this topic, tools and utilities, what they do, risks, rewards and how to put them in place, manage and monitor, change, restore, share, delete.
- Take the practice tests, sample questions, exam (work-lab exercises).
Related Terms
Deflate
This article is based on the 2nd edition of the Microsoft .Net Framework Application Training Kit with the purpose to help 70-536 Exam takers to succeed. I constantly look for ways to improve the content. Please leave a comment about this article or drop me a message if you would like to see changes for this site.





