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
79
AspNetCoreRateLimit
ASP.NET Core rate limiting middleware
94
FreeRedis.DistributedCache
分布式缓存 FreeRedis 实现 Microsoft.Extensions.Caching
81
Lazy.Captcha.Core
仿EasyCaptcha和SimpleCaptcha,基于.Net Standard 2.0的图形验证码模块。
97
Lazy.Captcha.Core
仿EasyCaptcha和SimpleCaptcha,基于.Net Standard 2.0的图形验证码模块。版本2.0.0起绘图由ImageSharp调整为SkiaSharp。文档地址: https://gitee.com/pojianbing/lazy-captch
82
Lazy.Captcha.Core
仿EasyCaptcha和SimpleCaptcha,基于.Net Standard 2.0的图形验证码模块。版本2.0.0起绘图由ImageSharp调整为SkiaSharp。文档地址: https://gitee.com/pojianbing/lazy-captcha
86
Lazy.Captcha.Core
仿EasyCaptcha和SimpleCaptcha,基于.Net Standard 2.0的图形验证码模块。版本2.0.0起绘图由ImageSharp调整为SkiaSharp。文档地址: https://gitee.com/pojianbing/lazy-captcha
105
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
85
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
89
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
141
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
174
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
376
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
5,524
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
9,334
Microsoft.Extensions.Caching.StackExchangeRedis
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Redis.
1,519
Microsoft.Extensions.Caching.StackExchangeRedis
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Redis.
9,709
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
187
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
401
MiniProfiler.AspNetCore
Lightweight mini-profiler, designed for ASP.NET Core (not System.Web) websites
81

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

Version Downloads Last updated
10.0.0 51 11/13/2025
10.0.0-rc.2.25502.107 41 10/24/2025
10.0.0-rc.1.25451.107 37 09/15/2025
10.0.0-preview.7.25380.108 39 08/16/2025
10.0.0-preview.6.25358.103 42 07/18/2025
10.0.0-preview.5.25277.114 48 06/08/2025
10.0.0-preview.4.25258.110 45 05/17/2025
10.0.0-preview.3.25171.5 38 04/16/2025
10.0.0-preview.2.25163.2 42 03/28/2025
10.0.0-preview.1.25080.5 41 03/16/2025
9.0.11 35 11/13/2025
9.0.10 36 10/24/2025
9.0.9 41 09/15/2025
9.0.8 35 08/10/2025
9.0.7 42 07/11/2025
9.0.6 45 06/15/2025
9.0.5 49 05/18/2025
9.0.4 40 04/16/2025
9.0.3 54 03/16/2025
9.0.2 52 02/19/2025
9.0.1 46 01/31/2025
9.0.0 133 11/14/2024
9.0.0-rc.2.24473.5 51 11/29/2024
9.0.0-rc.1.24431.7 44 12/08/2024
9.0.0-preview.7.24405.7 48 11/14/2024
9.0.0-preview.6.24327.7 46 12/06/2024
9.0.0-preview.5.24306.7 49 12/08/2024
9.0.0-preview.4.24266.19 51 06/03/2024
9.0.0-preview.3.24172.9 58 06/03/2024
9.0.0-preview.2.24128.5 55 05/02/2024
9.0.0-preview.1.24080.9 68 05/02/2024
8.0.0 422 12/02/2023
8.0.0-rc.2.23479.6 55 06/03/2024
8.0.0-rc.1.23419.4 59 05/14/2024
8.0.0-preview.7.23375.6 51 05/08/2024
8.0.0-preview.6.23329.7 49 06/03/2024
8.0.0-preview.5.23280.8 56 06/03/2024
8.0.0-preview.4.23259.5 50 05/01/2024
8.0.0-preview.3.23174.8 43 05/02/2024
8.0.0-preview.2.23128.3 48 05/02/2024
8.0.0-preview.1.23110.8 50 05/07/2024
7.0.0 171 12/20/2022
7.0.0-rc.2.22472.3 54 06/03/2024
7.0.0-rc.1.22426.10 49 05/01/2024
7.0.0-preview.7.22375.6 45 06/03/2024
7.0.0-preview.6.22324.4 39 06/03/2024
7.0.0-preview.5.22301.12 51 06/03/2024
7.0.0-preview.4.22229.4 51 06/03/2024
7.0.0-preview.3.22175.4 53 06/03/2024
7.0.0-preview.2.22152.2 45 06/03/2024
7.0.0-preview.1.22076.8 45 06/03/2024
6.0.2-mauipre.1.22102.15 52 06/03/2024
6.0.2-mauipre.1.22054.8 48 06/03/2024
6.0.1 52 11/14/2024
6.0.0-rc.2.21480.5 46 06/03/2024
6.0.0-rc.1.21451.13 45 05/10/2024
6.0.0-preview.7.21377.19 54 05/02/2024
6.0.0-preview.6.21352.12 49 06/03/2024
6.0.0-preview.5.21301.5 46 05/15/2024
6.0.0-preview.4.21253.7 59 05/06/2024
6.0.0-preview.3.21201.4 49 06/03/2024
6.0.0-preview.2.21154.6 43 06/03/2024
6.0.0-preview.1.21102.12 52 06/03/2024
5.0.0-rc.2.20475.5 53 05/05/2024
5.0.0-rc.1.20451.14 55 05/24/2024
5.0.0-preview.7.20364.11 49 06/03/2024
5.0.0-preview.6.20305.6 51 05/05/2024
5.0.0-preview.5.20278.1 44 06/03/2024
5.0.0-preview.4.20251.6 49 06/03/2024
5.0.0-preview.3.20215.2 45 05/02/2024
5.0.0-preview.2.20160.3 49 05/02/2024
5.0.0-preview.1.20120.4 44 05/02/2024
3.1.32 9,811 05/11/2023
3.1.31 50 11/28/2022
3.1.30 5,589 11/03/2022
3.1.29 55 05/02/2024
3.1.28 58 05/02/2024
3.1.27 54 06/03/2024
3.1.26 67 05/02/2024
3.1.25 48 05/02/2024
3.1.20 59 05/20/2024
3.1.18 61 05/09/2024
3.1.15 59 05/19/2024
3.1.13 51 03/11/2024
3.1.11 45 06/03/2024
3.1.8 63 05/04/2024
3.1.7 57 04/10/2023
3.1.5 53 05/02/2024
3.1.0-preview3.19553.2 45 11/04/2022
3.1.0-preview2.19525.4 51 05/01/2024
3.1.0-preview1.19506.1 47 05/02/2024
3.0.3 61 05/02/2024
3.0.1 65 05/16/2024
3.0.0 52 07/21/2023
3.0.0-rc1.19456.10 48 05/02/2024
3.0.0-preview9.19423.4 42 05/23/2024
3.0.0-preview7.19362.4 47 05/04/2024
3.0.0-preview6.19304.6 51 06/03/2024
3.0.0-preview4.19216.2 51 06/11/2022
3.0.0-preview3.19153.1 45 06/03/2024
3.0.0-preview.18572.1 45 06/03/2024
2.2.0-preview1-35029 51 06/03/2024
2.1.23 60 05/21/2024
2.1.2 65 05/17/2024
2.1.1 284 06/11/2022
2.1.0-rc1-final 56 04/30/2024
2.1.0-preview1-final 57 05/02/2024
2.0.2 59 05/07/2024
2.0.1 59 05/13/2024
2.0.0-preview2-final 47 05/16/2024
2.0.0-preview1-final 59 05/07/2024
1.1.1 58 01/31/2024
1.0.0 57 05/01/2024
1.0.0-rc2-final 57 05/06/2024
1.0.0-rc1-final 51 05/09/2024