Session based ViewState is hard

less than 1 minute read

In a well reasoned follow-up post, Scott Hanselman explains why storing ViewState in an ASP.NET Session isn’t as easy as it first appears. Amongst other good stuff, he makes two points I want to reiterate:

  • Spend less time writing wrongheaded plumbing code to replace ViewState, and instead learn how to use it effectively and efficiently.
  • Buy Fritz’s book. (This is such a well written and easy to read book - I say it is a must have.)

Updated: