Fixing bottlenecks

Now that you have pinpointed the bottlenecks to prioritize, skip to the appropriate subsection to find out how to fix those bottlenecks.


ViewState is such an integral part of the ASP.NET environment that it is very easy to get to a situation where your pages are carrying more ViewState than they need to.

This section first shows how to find out which controls are responsible for most of the ViewState on a page. You then see how to disable ViewState. After that, we get to solutions for actually reducing ViewState.


Preserving state by preventing refreshes

Remember that ViewState is a way to remember the state of controls on the page across page refreshes. This means that you can get rid of ViewState completely if you ...

Get ASP.NET Site Performance Secrets now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.