问题
Where can I see the total size of ViewState out of the total size of the Response (value in bytes in the Body column) in Fiddler 2?
Thanks!
回答1:
You could simply copy-paste the value of the __VIEWSTATE
hidden-field (using "view source" in the browser, works without fiddler) to a new text-file and check the size of this file.
回答2:
There is a very nice plugin for Firefox that allows you to directly see the size of the viewstate in your browser: Firefox Viewstate Size Plugin 1.0.3.
回答3:
You can neXpert plug-in for fiddler available in the MS ACE team blog. It creates report for you with Viewstate details and lot of other performance recommendation. You can also set threshold values for web page statistics.
回答4:
A post from 4GuysFromRolla will help you to calculate the size of view state, I am not sure if you can do that in fiddler without writing a brand new extension for fiddler
回答5:
I just created a Fiddler Extension that helps do this:
http://blog.bareweb.eu/2010/11/http-debugging-fiddler-tip-5-managed-code-extension/
It also outputs other stats for the HTML page, and you can see the Fiddler Log tab for detailed numeric stats.
来源:https://stackoverflow.com/questions/4194174/how-can-i-see-the-total-size-of-the-viewstate-by-using-fiddler