• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

IDistributedCache in ASP.NET Core

IDistributedCache is the ASP.NET Core abstraction for distributed caching that enables applications to store and retrieve data from a centralized cache shared across multiple application instances. Unlike in-memory caching, distributed caching allows cached data to remain accessible regardless of which application server processes a request, making it suitable for load-balanced and cloud-hosted environments.

NCache implements the IDistributedCache interface, allowing ASP.NET Core applications to use a distributed cache through the standard caching APIs provided by the framework. This integration enables developers to leverage distributed caching while continuing to work with the familiar ASP.NET Core caching model.

To get started with NCache and IDistributedCache, you first need to configure NCache as the distributed cache provider for your ASP.NET Core application. Once configured, you can use the standard IDistributedCache APIs to store, retrieve, and manage cached data. This section covers both the configuration of NCache as an ASP.NET Core IDistributedCache provider and the use of the IDistributedCache API for distributed caching operations.

Why Use IDistributedCache?

Distributed caching helps improve application performance by reducing repeated access to backend data sources such as databases, web services, and external systems. By storing frequently accessed data in memory, applications can serve requests more efficiently and reduce overall system load.

Key benefits include:

  • Improved application response times
  • Reduced database and backend service load
  • Shared cache access across multiple application instances
  • Better scalability for high-traffic applications
  • Consistent access to cached data in distributed environments

In This Section

Configure IDistributedCache in ASP.NET Core
Learn how to configure NCache as an ASP.NET Core IDistributedCache provider using Startup.cs or appsettings.json.

Using IDistributedCache in ASP.NET Core
Learn how to use the ASP.NET Core IDistributedCache API with NCache to store, retrieve, and manage cached data.

Contact Us

PHONE

+1 214-619-2601   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top