5 ways to compress/uncompress files in .NET

There are numerous compression algorithm out there for file compression. Here come 5 examples with how-to-do links from this blog.

Compressing individual files

The following algorithms can be used to compress a single file. E.g. source.txt will be compressed to source.txt.gz.

Compressing a group of files

The following algorithms can be used to group files and then compress the file group.

Read all posts dedicated to file I/O here.

Advertisement

About Andras Nemes
I'm a .NET/Java developer living and working in Stockholm, Sweden.

2 Responses to 5 ways to compress/uncompress files in .NET

  1. mehmet says:

    benchmark pls.

  2. Lajos Szoke says:

    András,

    Currently I am using Ionic.zip (very old 1.9.1.8) in a production environment and have no problems at all. Having read your articles on the various zip capabilities now available in .Net made me wonder if I should replace that old unsupported Ionic.zip module with the official .Net one. Have you, by any chance, done any performance analysis of the .Net zip capabilities?

    Best regards,

    Lajos Szőke

    On Thu, Jul 6, 2017 at 3:53 AM, Exercises in .NET with Andras Nemes wrote:

    > Andras Nemes posted: “There are numerous compression algorithm out there > for file compression. Here come 5 examples with how-to-do links from this > blog. Compressing individual files The following algorithms can be used to > compress a single file. E.g. source.txt will be c” >

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com 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

Elliot Balynn's Blog

A directory of wonderful thoughts

Software Engineering

Web development

Disparate Opinions

Various tidbits

chsakell's Blog

WEB APPLICATION DEVELOPMENT TUTORIALS WITH OPEN-SOURCE PROJECTS

Once Upon a Camayoc

Bite-size insight on Cyber Security for the not too technical.

%d bloggers like this: