ASP.NET ViewState = Appendix?
Last time I checked, ASP.NET ViewState wasn't an Appendix to be cut out. The Flesk.ViewStateOptimizer makes this claim:
Reduces downloading time of your website or web application, by not sending back the page's Viewstate hidden field.
Oy! ViewState is one of the most useful and most maligned inventions of the .NET era. Get to know it. Turn it off selectively and when you know what you're doing.
I'm going to go 'optimize' some nose hair now.
About Scott
Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.
About Newsletter
I think it actually sounds kind of cool, but that's only because I wish I could (safely) have view state for password fields :)
Either way, whatever's going on here, thanks for the link. It's interesting at the very least...
We do the same technique of stashing the ViewState off somewhere, and using a key to retrieve it. Quite frankly, I don't understand why Microsoft didn't do this. If you use session storage backed by a database, it even scales across server farms.
Comments are closed.