|
What is DotNetGZip?
DotNetGZip is a class library that provides an implementation of the
GZIP and DEFLATE
standards and can be used as a replacement for the corresponding implementation of .NET.
What are
GZIP and DEFLATE?
The DEFLATE Data Format Specification (RFC 1951)
and the GZIP File Format Specification (RFC 1952)
are IETF
Internet Standards that specify a lossless compressed data format and an associated file format.
Why should I prefer DotNetGZip for my compression?
Because, just by changing a namespace, DotNetGZip will compress your data significantly more than .NET
can compress it.
Additionally, DotNetGZip lets you specify the
compression level so that you can select the desired balance between performance and compactness, and also enables you to add a filename to the header so that
you can restore the original filename after decompressing a file.
How do I switch from .NET to DotNetGZip for compression?
The
GZipStream and
DeflateStream of DotNetGZip have the
same interface as the
GZipStream
and
DeflateStream of
.NET, so in most cases all you have to do is:
Is DotNetGZip interoperable?
Yes, it is interoperable with any other GZIP/DEFLATE implementation that conforms to the standards.
How much more does DotNetGZip compress than .NET?
We compared the sizes of a large number of documents when compressed using
DotNetGZip and when using .NET.
On average, DotNetGZip-compressed documents were 1/3 smaller than .NET-compressed documents.
Does DotNetGZip always compress more than .NET?
Yes. In all documents tested DotNetGzip returned higher compression
ratios than .NET.
How much will DotNetGZip reduce the size of my data?
You can use the freely available
GZ Compressor to find out. It will compress your files using the
GZipStream class
of DotNetGZip and report the compression ratios.
If you also wish to compress your data using the GZipStream of .NET so that you can compare the compression ratios
of .NET to those of DotNetGZip, use the
MSGZ Compressor.
Can I use GZIP with my WCF-based Web services?
A ready-to-use, cross-platform interoperable compression binding element for WCF is available in
WCF-Xtensions.
Can
DotNetGZip be used on the Compact Framework?
Yes, DotNetGZip includes assemblies for .NET Framework and .NET Compact Framework that provide the same functionality and the
same API on both platforms.
On which versions of .NET can
DotNetGZip be used?
It can be used on:
- .NET Framework 3.5, 3.0, 2.0.
- .NET Compact Framework 3.5, 2.0.
Can I try
DotNetGZip?
Yes, you can download a trial from
here.
Is the source code of
DotNetGZip available?
Yes, its full source code is included in
DotNetGZip Enterprise.
|