The Data Compression News Blog

All about the most recent compression techniques, algorithms, patents, products, tools and events.

Subscribe

Posts: RSS Feed
Comments: RSS Feed

Shrinking those monster ASP.NET pages

Posted by Mark Nelson on 10th July 2006 | Permanent Link

Dario Solera knows the pleasure and pain of creating ASP.NET web pages. One big problem is that the pages tend to rack up a rather large amount of data in the ViewState for controls.

You’ve seen a lot of code on compression of JavaScript pages in the past, but they have always used fairly lame ad-hoc script code to compress and decompress web pages. ASP.NET pages have a big advantage - access to the GZipStream and DeflateStream classes. And in this case, Dario makes good use of those classes, shrinking those 80K pages down to nothing.

You’ll find the article here on the wonderful CodeProject web site.

But don’t try to talk to Dario any time soon, he’s in Italy, and I think today they’re all getting drunk and taunting the French.