{"id":14,"date":"2007-04-29T15:58:00","date_gmt":"2007-04-29T19:58:00","guid":{"rendered":"http:\/\/warriormill.com\/?p=14"},"modified":"2009-04-09T07:16:26","modified_gmt":"2009-04-09T11:16:26","slug":"viewstateeliminator-v10","status":"publish","type":"post","link":"https:\/\/warriormill.com\/2007\/04\/viewstateeliminator-v10\/","title":{"rendered":"ViewstateEliminator V1.0"},"content":{"rendered":"
This is a solution for stripping out viewstate<\/span><\/span> before it hits the client. The thought for making this utility was the following, viewstate<\/span><\/span> has no real use fullness<\/span> on they client besides reconstructing<\/span> the control tree and as a state bag. Most of the time developers turn viewstate<\/span><\/span> off on controls because it tends to become huge and slows down the streaming of content.<\/p>\n Even when using Ajax API’s<\/span><\/span> such as Microsoft Ajax and Anthem.Net viewstate<\/span><\/span> is still passed back and forth. So even though we get partial page updates we are still passing through that big chunk back and forth, watch we have done is we have disguised the problem but not solve<\/span> it.<\/span> SQLDatabase<\/span> is inserting viewstate<\/span> into a table given certain keys.<\/span><\/p>\n Session was chosen as a storage method also after a friend asked me “so what are you doing sticking it in session?”….I answered no. Then it got me to thinking well…what if i do store it in session…what would be so bad? Session…well what would be the impact<\/span> of the different flavors of session..<\/span><\/p>\n The Session & Database methods helps the issue of retrieving the right viewstate<\/span> from a web farm.<\/span><\/p>\n <\/span><\/p>\n So I have put a W.I.P version on codeplex<\/span> that i will be updating on the weekend….I know right now its not Pure OO<\/span> … its not something that Jean-Paul S Boodhoo<\/span> would approve lol<\/span><\/span><\/p>\n
<\/span>
What has been done is eliminated<\/span> viewstate<\/span> being sent out to the client and being stored in another medium.<\/span>
<\/span>
Current Supported mediums:<\/span><\/p>\n\n
\n