On April 23rd 2008 I did a MSDN geekSpeak web cast with Microsoft Developer Evangelists Glen Gordon and Brian Hitney. The great thing about geekSpeaks is that the attendees can ask questions during the web cast and get the answers they need. My great friend and Microsoft MVP Chris Love asked if Mole could be used to view ViewState. We were getting short on time so Glen suggested we take this question offline.
I have put together a short video that covers using Mole to view ViewState. Currently Mole does not decrypt the __VIEWSTATE object. I might do this for Mole v5 if some ASP.NET developers need this. Please leave a comment and let me know if you would like this feature.
For now, Mole does provide access to each individual control’s ViewState which includes the StateBag for the page. The below video demonstrates using Mole in each of these scenarios.

The video links require Microsoft Silverlight 1.0. If you do not have it, you will be prompted to install it when you click one of the links. After the short installation is completed, close the browser window that you did the install in and re-click the video you want to watch. You can also download it here. Windows XP or Vista required.
Mole v4 Viewing ASP.NET ViewState
Enjoy Mole!
Just a grain of sand on the worlds beaches.


