C# Apache-2.0

NCache

NCache: Highly Scalable Distributed Cache for .NET

A

Alachisoft

Dernière activité 7 août 2026
Alachisoft/NCache

666

étoiles

127

forks

50

issues ouvertes

cache-clustercachingcsharpdistributed-cachedotnetdotnet-corehigh-availabilityin-memory-cacheopen-sourcescalability

Ce README est souvent en anglais.

NCache: Highly Scalable Distributed Cache for .NET

NCache is an extremely fast and scalable Open Source distributed cache for .NET applications. Use NCache for database caching, ASP.NET Session State storage, ASP.NET View State Caching, and much more.

NCache is used by hundreds of companies all over the world in mission critical applications. See more details about NCache at Alachisoft.

Features

  • Publish/Subscribe (Pub/Sub) with Topic
  • Cache CRUD operations
  • Bulk CRUD operations
  • Lock/Unlock cached items
  • Item level event notifications
  • Eviction
  • Absolute and sliding expirations
  • ASP.NET Session State Provider
  • ASP.NET View State Cache
  • NHibernate Second Level Cache provider
  • NuGet Packages
  • Runs in Microsoft Azure, Amazon, and any other Cloud platform
  • SQL Searching
  • Distributed Data Structures
  • Live Cluster Configuration
  • WAN Replication

Getting Started

You can set up NCache either by installing it directly as a cache server (default), remote client, Dev/QA or by running it inside a Docker container.

Option 1: Windows Server Installation

  1. Download and run the MSI Installer: Download the installer from Alachisoft and execute the following in command prompt.
msiexec.exe /I "C:\NCacheSetupPath\ncache.oss.x64.msi"
  1. Run the Setup Wizard: Launch the installer and follow the on-screen instructions. Select Cache Server when prompted for the installation type. Please see Windows Server Installation docs for step-by-step information on these steps.

  2. Start the NCache Service: Ensure the NCache service is running.

For more details on Getting started with NCache Open Source, please see Getting Started docs.

Option 2: Docker Installation

NCache provides official images on Docker Hub.

  1. Pull the NCache Docker Image
docker pull alachisoft/ncache:latest-oss
  1. Create NCache Container (using host network mode)
docker create --name ncache --network host alachisoft/ncache:latest-oss
  1. Register Cache Server (Register from the host terminal)
docker exec -it ncache /opt/ncache/bin/tools/register-ncacheevaluation -key xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -registeras CacheServer 

For more details on NCache Docker, please see Docker docs.

Step-by-step guide about how to install NCache for Open Source edition, and to configure your environment accordingly.

Perform administrative tasks on caches using configuration files for NCache Open Source edition.

Use various features of NCache in .NET to develop high performance and scalable applications.

Docker image and Dockerfile with NCache environment to allow seamless building of NCache applications and managing cache clusters.

Compare various editions available. Enterprise Edition vs Open Source Edition.

Demonstration of NCache features using sample applications.

A collection of official integrations that enable the use of NCache with popular libraries and frameworks.

License

NCache Open Source is released under the Apache License, Version 2.0 See more details at https://www.alachisoft.com/download-ncache.html

Projets similaires

An efficient multi-layered caching system for .NET

C#cachecachemanagercaching
TTurnerSoftware
630 étoiles39

Garnet is a remote cache-store from Microsoft Research that offers strong performance (throughput and latency), scalability, storage, recovery, cluster sharding, key migration, and replication features. Garnet can work with existing Redis clients.

C#cachecache-storagecluster
Mmicrosoft
12 k étoiles709

CacheManager is an open source caching abstraction layer for .NET written in C#. It supports various cache providers and implements many advanced features.

C#c-sharpcachecachemanager
MMichaCo
2,4 k étoiles450