title: Determine size of ASP.NET page's viewstate before serving page
body: <p>What ASP.NET page lifecycle event can I write code in to determine the size of the viewstate that being sent out?  Also, is it possible to determine the size without parsing through the rendered HTML (like a property on the page object) or is parsing the only way?</p>
  
  <p>What I'd like to do is log the sizes, specifically if they cross a certain threshold.</p>