Posted by : Rhyf Ahmad Wednesday, May 20, 2015

Performance is a key requirement for any application or piece of code that you develop. The browser helps with client - side caching of text and images, whereas the server - side caching you choose to implement is vital for creating the best possible performance. Caching is the process of storing frequently used data on the server to fulfill subsequent requests.
You will discover that grabbing objects from memory is much faster than re - creating the Web pages or items contained in them from scratch each time they are requested. Caching increases your application ’ s performance, scalability, and availability. The more you fine - tune your application ’ s caching approach, the better it performs. This chapter focuses on caching, including the SQL cache invalidation capabilities that ASP.NET provides.
This chapter takes a close look at this unique aspect of caching. When you are using SQL cache invalidation, if the result set from SQL Server changes, the output cache can be triggered to change automatically. This ensures that the end user always sees the latest result set, and the data presented is never stale. After introducing SQL cache invalidation, this chapter also covers other performance enhancements. It discusses the Post - Cache Substitution feature, which caches entire pages while dynamically replacing specified bits of content. Lastly, this chapter covers a capability that enables a developer to create custom dependencies.

Contents:

Caching
  1. Output Caching
  2. Partial Page (UserControl) Caching
  3. Post-Cache Substitution
  4. HttpCachePolicy and Client-Side Caching

Caching Programmatically
  1. Data Caching Using the Cache Object
  2. Controlling the ASP.NET Cache
  3. Cache Dependencies
  4. .NET 4’s New Object Caching Option

Using the SQL Server Cache Dependency
  1. Enabling Databases for SQL Server Cache Invalidation
  2. Enabling Tables for SQL Server Cache Invalidation
  3. Looking at SQL Server 2000
  4. Looking at the Tables That Are Enabled
  5. Disabling a Table for SQL Server Cache Invalidation
  6. Disabling a Database for SQL Server Cache Invalidation
  7. SQL Server 2005 and 2008 Cache Invalidation

Configuring Your ASP.NET Application
Testing SQL Server Cache Invalidation
  1. Adding More Than One Table to a Page
  2. Attaching SQL Server Cache Dependencies to the Request Object
  3. Attaching SQL Server Cache Dependencies to the Cache Object


Ebook Preview
Get the ebook now (734 kB)

If the link above doesn't work, try the link below

Leave a Reply

You can leave a comment to request any article(s), software(s), ebook(s) or report the dead link.
Then I will reply as soon as I can :)

Subscribe to Posts | Subscribe to Comments

Welcome to My Blog

Recent Post

Recent Posts Widget
Instagram

- Copyright © Madriva -Robotic Notes- Powered by Blogger - Designed by Johanes Djogan -