.NET news » Search results

Search results for query "cache" (21):

Implementing a super-fast, size-constrained generic cache

I work with performance-critical software that often requires some form of cache to function efficiently. However, there is also often a need to constrain memory usage, so I set out to create a high-performance cache with a maximum size.

ASP.NET: How to Handle Relational Data in a Distributed Cache

Iqbal Khan discusses how developers handle data relationships while caching data, and shows through source code examples how those relationships can be mapped. The net effect is that the application doesn’t have to keep track of those relationships in the cache. Rather, the cache is aware of them and handles them correctly.
2012-07-01 18:00:00   Source: ASP.NET: How to Handle Relational Data in a Distributed...   Tags: ASP.NET

Cloud Cache: Introducing the Windows Azure AppFabric Caching Service

Windows Azure AppFabric Caching service provides an easy-to-use cache in the cloud that you can employ for application data, maintaining session state, and other tasks. We'll show you how to start using the Cache service in your apps today.
2011-03-31 19:00:00   Source: Cloud Cache: Introducing the Windows...   Tags: Other

Cache Integration: Building and Using Custom OutputCache Providers in ASP.NET

With the .NET Framework 4.0, you can now boost performance by replacing the default ASP.NET output cache with your own implementation. We show you how to do this with the MongoDB "NoSQL" database in a simple ASP.NET MVC app and then we swap out the custom provider to leverage features of Windows Azure AppFabric.
2011-03-02 18:00:00   Source: Cache Integration: Building and...   Tags: Performance

Interoperability: Runtime Data Sharing Through an Enterprise Distributed Cache

Learn how an enterprise distributed cache can help .NET and Java apps share data at run time, providing high performance and scalability.
2010-09-30 19:00:00   Source: Interoperability: Runtime Data Sharing Through an...   Tags: Performance

NCache 2.0

NCache is a high performance in-memory object caching solution for mission critical .NET applications with real-time data access needs. NCache not only lets you cache read-only data but also complex transactional data with relationships. As a result, your application can cache most of its data and dramatically improve performance.
2006-01-30 11:27:23   Source: NCache 2.0   Tags: Components Performance

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.
2006-04-06 14:31:53   Source: Cache In On the Enterprise Library...   Tags: Performance

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 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..

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