I have tried to quickly understand how to minimize viewstate and its bloating, but this is a topic that requires a few hours of careful thinking.
One thing to keep in mind is that postback data is different from viewstate data. Postback data is inspected and asp.net server-side controls are updated with the postback data, but that mechanism is independent of viewstate data.
Here's some great articles on understanding asp.net viewstate:
1) Understanding ASP.NET View State- very good article from msdn written by Scott Mitchell from 4GuysFromRolla
Some tools to inspect viewstate data:
1) asp.net viewstate helper from binary fortress software - nice tool but can't dissect all of the viewstate into meaningful info
3) Felix Colibri- Asp.Net Viewstate Viewer- haven't used it
4) Denis Bauer's ViewstateViewer-havent' used it
5) Nikhil Kothari's Web Development Helper browser extension for IE - article on it
No comments:
Post a Comment