Microsoft.Extensions.Caching.Abstractions 10.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.ICacheEntry
  • Microsoft.Extensions.Caching.Abstractions.IMemoryCache
  • Microsoft.Extensions.Caching.Abstractions.IDistributedCache

Additional Documentation

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
AspNetCoreRateLimit
ASP.NET Core rate limiting middleware
45
Caching.CSRedis
分布式缓存 CSRedisCore 实现 Microsoft.Extensions.Caching
38
Caching.CSRedis
分布式缓存 CSRedisCore 实现 Microsoft.Extensions.Caching
39
Caching.CSRedis
分布式缓存 CSRedisCore 实现 Microsoft.Extensions.Caching
43
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.
38
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.
41
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
45
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
71
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
130
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
267
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
5,481
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
9,037
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache. This package was built from the source code at https://github.com/aspnet/Extensions/tree/9bc79b2f25a3724376d7af19617c33749a30ea3a
41
Microsoft.Extensions.Caching.SqlServer
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Microsoft SQL Server. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/50b7e9c661453874aa7a54a3985d5120564bb2e5
39
Microsoft.Extensions.Caching.StackExchangeRedis
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Redis.
1,474
Microsoft.Extensions.Caching.StackExchangeRedis
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Redis.
9,305
Microsoft.Extensions.Caching.StackExchangeRedis
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Redis. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/3f1acb59718cadf111a0a796681e3d3509bb3381
149
Microsoft.Extensions.Caching.StackExchangeRedis
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Redis. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/57512b49997283599b00a6b67d0ccebaec171daf
39
Microsoft.Extensions.Caching.StackExchangeRedis
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Redis. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/c9e3996173cec136bc2e9f3b4ec45f2a323b1d63
289
OpenIddict.Client.AspNetCore
ASP.NET Core integration package for the OpenIddict client services.
45

https://go.microsoft.com/fwlink/?LinkID=799421

Version Downloads Last updated
10.0.0 6 11/13/2025
10.0.0-rc.2.25502.107 6 10/24/2025
10.0.0-rc.1.25451.107 8 09/15/2025
10.0.0-preview.7.25380.108 6 08/16/2025
10.0.0-preview.6.25358.103 9 07/18/2025
10.0.0-preview.5.25277.114 13 06/08/2025
10.0.0-preview.4.25258.110 15 05/17/2025
10.0.0-preview.3.25171.5 17 04/16/2025
10.0.0-preview.2.25163.2 17 03/28/2025
10.0.0-preview.1.25080.5 18 03/16/2025
9.0.11 6 11/13/2025
9.0.10 3 10/24/2025
9.0.9 7 09/15/2025
9.0.8 10 08/10/2025
9.0.7 10 07/11/2025
9.0.6 17 06/15/2025
9.0.5 18 05/18/2025
9.0.4 20 04/16/2025
9.0.3 23 03/16/2025
9.0.2 25 02/19/2025
9.0.1 19 01/31/2025
9.0.0 62 11/14/2024
9.0.0-rc.2.24473.5 24 11/29/2024
9.0.0-rc.1.24431.7 21 12/08/2024
9.0.0-preview.7.24405.7 24 11/14/2024
9.0.0-preview.6.24327.7 20 12/06/2024
9.0.0-preview.5.24306.7 22 12/08/2024
9.0.0-preview.4.24266.19 26 06/03/2024
9.0.0-preview.3.24172.9 25 06/03/2024
9.0.0-preview.2.24128.5 28 05/02/2024
9.0.0-preview.1.24080.9 26 05/02/2024
8.0.0 308 12/02/2023
8.0.0-rc.2.23479.6 23 06/03/2024
8.0.0-rc.1.23419.4 32 05/14/2024
8.0.0-preview.7.23375.6 24 05/08/2024
8.0.0-preview.6.23329.7 25 06/03/2024
8.0.0-preview.5.23280.8 27 06/03/2024
8.0.0-preview.4.23259.5 24 05/01/2024
8.0.0-preview.3.23174.8 26 05/02/2024
8.0.0-preview.2.23128.3 26 05/02/2024
8.0.0-preview.1.23110.8 22 05/07/2024
7.0.0 135 12/20/2022
7.0.0-rc.2.22472.3 26 06/03/2024
7.0.0-rc.1.22426.10 21 05/01/2024
7.0.0-preview.7.22375.6 20 06/03/2024
7.0.0-preview.6.22324.4 22 06/03/2024
7.0.0-preview.5.22301.12 30 06/03/2024
7.0.0-preview.4.22229.4 24 06/03/2024
7.0.0-preview.3.22175.4 26 06/03/2024
7.0.0-preview.2.22152.2 20 06/03/2024
7.0.0-preview.1.22076.8 24 06/03/2024
6.0.2-mauipre.1.22102.15 29 06/03/2024
6.0.2-mauipre.1.22054.8 21 06/03/2024
6.0.1 28 11/14/2024
6.0.0-rc.2.21480.5 25 06/03/2024
6.0.0-rc.1.21451.13 23 05/10/2024
6.0.0-preview.7.21377.19 26 05/02/2024
6.0.0-preview.6.21352.12 27 06/03/2024
6.0.0-preview.5.21301.5 26 05/15/2024
6.0.0-preview.4.21253.7 35 05/06/2024
6.0.0-preview.3.21201.4 26 06/03/2024
6.0.0-preview.2.21154.6 17 06/03/2024
6.0.0-preview.1.21102.12 30 06/03/2024
5.0.0-rc.2.20475.5 29 05/05/2024
5.0.0-rc.1.20451.14 31 05/24/2024
5.0.0-preview.7.20364.11 27 06/03/2024
5.0.0-preview.6.20305.6 24 05/05/2024
5.0.0-preview.5.20278.1 22 06/03/2024
5.0.0-preview.4.20251.6 30 06/03/2024
5.0.0-preview.3.20215.2 24 05/02/2024
5.0.0-preview.2.20160.3 21 05/02/2024
5.0.0-preview.1.20120.4 21 05/02/2024
3.1.32 9,293 05/11/2023
3.1.31 24 11/28/2022
3.1.30 5,529 11/03/2022
3.1.29 30 05/02/2024
3.1.28 29 05/02/2024
3.1.27 28 06/03/2024
3.1.26 32 05/02/2024
3.1.25 26 05/02/2024
3.1.20 34 05/20/2024
3.1.18 32 05/09/2024
3.1.15 28 05/19/2024
3.1.13 24 03/11/2024
3.1.11 21 06/03/2024
3.1.8 33 05/04/2024
3.1.7 34 04/10/2023
3.1.5 31 05/02/2024
3.1.0-preview3.19553.2 26 11/04/2022
3.1.0-preview2.19525.4 26 05/01/2024
3.1.0-preview1.19506.1 20 05/02/2024
3.0.3 32 05/02/2024
3.0.1 33 05/16/2024
3.0.0 31 07/21/2023
3.0.0-rc1.19456.10 22 05/02/2024
3.0.0-preview9.19423.4 25 05/23/2024
3.0.0-preview7.19362.4 22 05/04/2024
3.0.0-preview6.19304.6 23 06/03/2024
3.0.0-preview4.19216.2 28 06/11/2022
3.0.0-preview3.19153.1 25 06/03/2024
3.0.0-preview.18572.1 22 06/03/2024
2.2.0-preview1-35029 25 06/03/2024
2.1.23 33 05/21/2024
2.1.2 37 05/17/2024
2.1.1 185 06/11/2022
2.1.0-rc1-final 28 04/30/2024
2.1.0-preview1-final 30 05/02/2024
2.0.2 33 05/07/2024
2.0.1 32 05/13/2024
2.0.0-preview2-final 26 05/16/2024
2.0.0-preview1-final 31 05/07/2024
1.1.1 29 01/31/2024
1.0.0 27 05/01/2024
1.0.0-rc2-final 26 05/06/2024
1.0.0-rc1-final 24 05/09/2024