Microsoft.Extensions.Caching.Abstractions 9.0.0
About
Provides the abstractions to create and use in-memory and distributed caching in your applications.
This library defines how in-memory and distributed caches should be implemented; it doesn’t contain any cache implementation. With the abstractions provided in this library, various types of caches can be built and used interchangeably, whether the data is kept in memory, in files, or even across a network.
Key Features
- Interfaces for building and using in-memory and distributed caches.
How to Use
This package is typically used with an implementation of the caching abstractions, such as Microsoft.Extensions.Caching.Memory or Microsoft.Extensions.Caching.SqlServer.
Main Types
The main types provided by this library are:
Microsoft.Extensions.Caching.Abstractions.ICacheEntryMicrosoft.Extensions.Caching.Abstractions.IMemoryCacheMicrosoft.Extensions.Caching.Abstractions.IDistributedCache
Additional Documentation
- Conceptual documentation
- API documentation
Related Packages
- In-memory caching: Microsoft.Extensions.Caching.Memory
- SQL Server caching: Microsoft.Extensions.Caching.SqlServer
- Redis caching: Microsoft.Extensions.Caching.StackExchangeRedis
Feedback & Contributing
Microsoft.Extensions.Caching.Abstractions is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.
Showing the top 20 packages that depend on Microsoft.Extensions.Caching.Abstractions.
| Packages | Downloads |
|---|---|
|
Caching.CSRedis
分布式缓存 CSRedisCore 实现 Microsoft.Extensions.Caching
|
50 |
|
MiniProfiler.AspNetCore
Lightweight mini-profiler, designed for ASP.NET Core (not System.Web) websites
|
46 |
|
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
|
43 |
|
Elsa.Core
Elsa is a set of workflow libraries and tools that enable lean and mean workflowing capabilities in any .NET Core application.
This package contains the core of Elsa.
Tip: reference the `Elsa` package instead of this one.
|
10 |
|
Elsa.Activities.Http
Elsa is a set of workflowing libraries and tools to enable super-fast workflowing capabilities in any .NET Core application.
|
7 |
|
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
|
7 |
|
Caching.CSRedis
分布式缓存 CSRedisCore 实现 Microsoft.Extensions.Caching
|
7 |
|
Elsa.Core
Elsa is a set of workflow libraries and tools that enable super-fast workflowing capabilities in any .NET Core application.
This package contains the heart and soul of what makes Elsa tick. It implements most of the abstractions defined in Elsa.Abstractions.
If you reference the Elsa package, which is recommended, you don;t have to explicitly reference this package.
|
7 |
|
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
|
6 |
|
Elsa.Activities.Http
Elsa is a set of workflowing libraries and tools to enable super-fast workflowing capabilities in any .NET Core application.
|
6 |
|
Caching.CSRedis
分布式缓存 CSRedisCore 实现 Microsoft.Extensions.Caching
|
6 |
|
MiniProfiler.Shared
You shouldn't reference this - MiniProfiler's shared library for all frameworks
|
6 |
|
Elsa.Core
Elsa is a set of workflow libraries and tools that enable super-fast workflowing capabilities in any .NET Core application.
This package contains the heart and soul of what makes Elsa tick. It implements most of the abstractions defined in Elsa.Abstractions.
If you reference the Elsa package, which is recommended, you don;t have to explicitly reference this package.
|
5 |
|
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
When using NuGet 3.x this package requires at least version 3.4.
|
5 |
.NET Framework 4.6.2
- Microsoft.Extensions.Primitives (>= 9.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
.NET 8.0
- Microsoft.Extensions.Primitives (>= 9.0.0)
.NET 9.0
- Microsoft.Extensions.Primitives (>= 9.0.0)
.NET Standard 2.0
- Microsoft.Extensions.Primitives (>= 9.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
| Version | Downloads | Last updated |
|---|---|---|
| 9.0.0 | 6 | 08/08/2025 |
| 8.0.0 | 65 | 07/07/2025 |
| 8.0.0-preview.7.23375.6 | 7 | 07/11/2025 |
| 8.0.0-preview.3.23174.8 | 6 | 07/11/2025 |
| 6.0.0 | 43 | 07/07/2025 |
| 3.0.3 | 4 | 07/11/2025 |
| 2.1.1 | 5 | 07/11/2025 |
| 2.0.2 | 4 | 07/11/2025 |
| 1.0.0 | 4 | 07/11/2025 |