22 October 2009

I found this article “How To: Compress ViewState in ASP.NET 2.0 - ViewState Compression with System.IO.Compression” with the sample pages that talk about reducing the ASP.NET View State size. It is work reading and implemeting these recomandation in ur ASP.NET website.

I tried their sample myself and copied the view state in the two notepad to compare. You can see in below screenshots (see the scrollbar, one shows lot of scroll available while in second very less scroll)

Before compressing the view state:

image

Before compressing the view state:

image

Side By Side screenshot of before & after compressing the view state: :

image

Article link: How To: Compress ViewState in ASP.NET 2.0 - ViewState Compression with System.IO.Compression




Tagged:

0 comments:

Post a Comment