Code0987
Code0987

Reputation: 2618

How sites build zip files online for download?

I want to know that how many sites like jqueryui, etc. build online zip packages for download. And how it can be done in asp.net ?

Upvotes: 3

Views: 501

Answers (2)

Aristos
Aristos

Reputation: 66641

I take the compress as minified, and not as encrypted and compress on string.

As alternative I like to propose the Microsoft Ajax Minified 4.0, that I use it with sussex on very complicate and big javascript files (including jQuery) for real time compress them/minified them...

http://aspnet.codeplex.com/releases/view/40584

and the next to zip it, I suggest SharpZipLib but also the DotNetZip

http://dotnetzip.codeplex.com/

Upvotes: 1

Darin Dimitrov
Darin Dimitrov

Reputation: 1038820

To compress/minify javascript files you could use the YUI compressor which has a .NET port. The Google Closure Compiler is also worth checking. You could use it online or compile its JAR package to .NET assembly using ikvmc. To create a zip file you may take a look at SharpZipLib.

Upvotes: 2

Related Questions