O'Reilly logo

Ultra-Fast ASP.NET 4.5 by Richard Kiessig

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C H A P T E R  5

ASP.NET Threads and Sessions

For many ASP.NET-based web sites, an effective way to improve site performance and scalability is by thoroughly addressing issues related to threads and sessions.

In this chapter, I’ll cover the following:

  • The very negative impact of using synchronous pages when you make out-of-process or off-server calls
  • Improving the scalability of your site by using asynchronous pages and background worker threads
  • A brief overview of locking as it applies to asynchronous programming
  • The scalability impact of the default session state provider, why it’s best to avoid session state if you can, and what the alternatives are
  • An approach to building a customized and highly scalable session state provider

Threads ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required