Showing posts with label c#. Show all posts
Showing posts with label c#. Show all posts

Monday, November 24, 2008

Packing it in

Having finally tackled the relatively complex art of compressing JavaScript and CSS in ASP.NET, I found most of the work had already been done in the form of Packer for .NET. As I found it, Packer featured methods to compress via Dean Edward's Packer and and Doug Crockford's JSMin.


Since I wanted to combine and minify my CSS, a hunt around revealed an efficient method written by Isaac Schlueter which was incorporated into the YUI Compressor. Working from two C# ports of Isaac's code, I added CSSMinify to the pot and the result is now available.


Want more? Send a request or, even better, fetch the source and contribute your own magic.