.NET news » Search results

Search results for query "caching" (12):

Cache Up to the Caching Application Block in Enterprise Library 3.0

Any application you write may require some sort of caching to meet the performance requirements of the business. Until the release of Enterprise Library, developers were forced to roll out their own caching implementations; however, developers now finally have a standard out-of-the-box caching solution that is fully tested—and it's free! The Caching Application Block provides a flexible and extensible caching mechanism that can be used at any or all layers of an application. It supports in-memory, database, or isolated storage stores for persisting the cached data. It also includes a set of very easy-to-use APIs that let you incorporate standard caching operations into your applications without needing to learn the complexities of the caching implementation. This article introduces the Caching Application Block and shows examples of how to use it to write robust caching implementations.

Cache In On the Enterprise Library Caching Block for .NET 2.0

Nearly every application needs to cache data. While you're probably familiar wth the caching functionality built into ASP.NET, the Enterprise Library Caching Block provides in-memory, file-based, or database caching storage for all your other .NET applications.

Caching in an ASP.NET 2.0 Web Application

Explains how to use caching to improve performance in ASP.NET applications.
2006-09-25 12:19:16   Source: Caching in an ASP.NET 2.0 Web Application   Tags: ASP.NET

Output Caching in ASP.NET 2.0

One of the most sure-fire ways to improve a web application's performance is to employ caching. Caching takes some expensive operation and stores its results in a quickly accessible location. ASP.NET version 1.0 introduced two flavors of caching:

  • Output Caching - caches the entire rendered markup of an ASP.NET web page or User Control for a specified duration.
  • Data Caching - a programmatically-accessible, in-memory data cache for storing objects in the web server's memory.

For a more in-depth discussion on ASP.NET 1.x's caching capabilities, refer to Scott McFarland's Caching with ASP.NET and Steve Smith's ASP.NET Caching: Techniques and Best Practices articles.

In ASP.NET 2.0, the caching system has been extended to include SQL cache dependencies, cache profiles, and post-cache substitution for output cached pages. The Caching for Performance section of the ASP.NET 2.0 QuickStarts provides a good overview of ASP.NET 2.0's caching options. This article explores output caching in ASP.NET 2.0, starting with an overview of output caching and followed by a detailed look at creating pages that include both cached and non-cached markup using fragment caching and post-cache substitution techniques.

2006-12-12 18:00:00   Source: Output Caching in ASP.NET 2.0   Tags: ASP.NET Performance

Caching Images in ASP.NET

There are a lot of ways to improve performance in web applications. One of the simplest but most effective methods is to cache images on the client. In this article I would like to show how we implemented image caching for our DotNetNuke website.
2008-01-17 13:52:00   Source: Caching Images in ASP.NET   Tags: ASP.NET Performance

SOA Tips: Address Scalability Bottlenecks with Distributed Caching

SOA makes application scalability easier, but getting the best performance out of your SOA means paying close attention to the details. We’ll give you some tips for coding your app more effectively and using distributed caching to remove data access bottlenecks.
2010-06-06 19:00:00   Source: SOA Tips: Address Scalability Bottlenecks with...   Tags: Performance

Caching Data with a Web Service in Enterprise Library

The Caching Application Block's provider mechanism lets you create a custom provider that stores cached data anywhere you want. It was this that made me wonder if it was possible to cache data within or through a web service, which would allow the provider to cache its data almost anywhere—remotely or locally—without having to write specific code that is directly integrated within Enterprise Library.

The principle is simple enough. Instead of having the backing store provider within the Caching Application Block interact directly with the backing store (the usual approach, as implemented in the Isolated Storage provider and Database provider), the backing store provider simply packages up the data and sends it to a web service..

Dynamic Cache Substitution using Substitution Control

ASP.NET Output Caching features help us to develop performance oriented web sites. No doubt that output caching reduces server side event processing. However, in the process it bypasses the entire server side processing. That means after the first request the page becomes static in terms of its contents for the entire cache duration. In some situations this architecture poses problems of its own. Recognizing these problems Microsoft introduced a new web server control called Substitution control in ASP.NET 2.0. The Substitution control allows you to dynamically change a part of the entire cached output. This substitution happens on the server and you can control what to substitute in the output.
2006-09-01 19:00:00   Source: Dynamic Cache Substitution using Substitution Control   Tags: ASP.NET

Using the Policy Injection Application Block in ASP.NET

Learn how to use AOP injection techniques to add, remove, and modify logging, validation, caching, exception handling, authorization, and performance measurements in your ASP.NET applications—without having to recompile your code.
2007-05-03 15:44:51   Source: Using the Policy Injection Application Block in ASP.NET   Tags: ASP.NET

Caching Pages and Application Data in ASP.NET 2.0 with SqlDependency

Overview of the steps necessary to cache Pages or application data based on the new ASP.NET 2.0 SqlCacheDependency features.
« Previous12Next »