Microsoft.Extensions.Caching.Abstractions 10.0.0-preview.4.25258.110

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
24
Caching.CSRedis
分布式缓存 CSRedisCore 实现 Microsoft.Extensions.Caching
25
Caching.CSRedis
分布式缓存 CSRedisCore 实现 Microsoft.Extensions.Caching
26
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
31
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
34
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
116
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
222
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
5,466
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
8,912
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
32
Microsoft.Extensions.Caching.SqlServer
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Microsoft SQL Server.
24
Microsoft.Extensions.Caching.StackExchangeRedis
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Redis.
24
Microsoft.Extensions.Caching.StackExchangeRedis
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Redis.
1,463
Microsoft.Extensions.Caching.StackExchangeRedis
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Redis.
9,142
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
135
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
28
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
235
Microsoft.Extensions.Identity.Stores
ASP.NET Core Identity is the membership system for building ASP.NET Core web applications, including membership, login, and user data. ASP.NET Core Identity allows you to add login features to your application and makes it easy to customize data about the logged in user. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/564969bca155b40432d101ec35f24a0e81e6afa0
28
OpenIddict.Client.AspNetCore
ASP.NET Core integration package for the OpenIddict client services.
32
OpenIddict.Server.AspNetCore
ASP.NET Core integration package for the OpenIddict server services.
25

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

.NET Framework 4.6.2

.NET 8.0

.NET 9.0

.NET 10.0

.NET Standard 2.0

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