Chapter 12: Using Caching to Improve Performance


Overview

In this chapter, you will learn how to:

  • Take advantage of output caching for Web Forms pages and user controls.

  • Take advantage of caching for data retrieved with ADO.NET.

  • Use the Cache APIs to get fine-grained control over the expiration, dependencies, and other properties of cached items.

The good news about ASP.NET is that its improvements—from the use of compiled languages rather than interpreted languages to the complete rewrite of the ASP.NET execution engine—make it easy for you to obtain the performance that many of your applications need. Well-designed applications written in ASP.NET will almost always be faster than the equivalent applications written in classic ASP.

However, for one class of applications these performance improvements alone will not be sufficient. These can include applications whose pages are computationally intensive (such as pages that use recursive procedures) or access large amounts of data, and applications that need to scale to large numbers of concurrent users.

ASP.NET offers new features for this class of applications, including a simple API for output caching and a rich and robust caching engine and API.




Microsoft ASP. NET Programming with Microsoft Visual Basic. NET Version 2003 Step by Step
Microsoft ASP.NET Programming with Microsoft Visual Basic .NET Version 2003 Step By Step
ISBN: 0735619344
EAN: 2147483647
Year: 2005
Pages: 126

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net