Re: Optimizing ViewState

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Karl Seguin (_at_)
Date: 02/17/05


Date: Thu, 17 Feb 2005 14:33:39 -0500

Ben,
The question is on the vague side. Turn on tracing, see what's using
viewstate and see if you can make it work without. if your page doesn't
postback, you can turn viewstate off at the page level.

Check out Scott Guthrie's deck on performance
http://scottgu.com/PerformanceEurope.zip it touches briefly on viewstate.

A nice compression module can help mitigate the performance issues around
round-triping large viewstate
(http://www.blowery.org/code/HttpCompressionModule.html)

Karl

-- 
MY ASP.Net tutorials
http://www.openmymind.net/
"Ben Fidge" <ben.fidge@btopenworld.com> wrote in message
news:eDfhURSFFHA.3384@tk2msftngp13.phx.gbl...
> Does anyone know any tricks for reducing the size of the ViewState?
>
> Kind regards
>
> Ben
>
>
>


Relevant Pages

  • Re: Optimizing ViewState
    ... > The question is on the vague side. ... Turn on tracing, see what's using ... you can turn viewstate off at the page level. ... > MY ASP.Net tutorials ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Checking how much an object takes in memory
    ... If it is an internet application, you could use tracing and look up the ... viewstate size in the trace.axd file. ... CLRProfiler to profile your application. ...
    (microsoft.public.dotnet.framework.clr)