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:
Before compressing the view state:
Side By Side screenshot of before & after compressing the view state: :
Article link: How To: Compress ViewState in ASP.NET 2.0 - ViewState Compression with System.IO.Compression
Comments
Post a Comment