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.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
Microsoft.AspNetCore.Session
ASP.NET Core session state middleware. This package was built from the source code at https://github.com/aspnet/Session/tree/774079d60d29762ef7c8bba3f0fa06e73cb323f2
86
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
79
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
91
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
155
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
244
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
265
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
302
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
596
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
3,544
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.
670
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/b92c9f50f0333ea661785ba849f303cde6a93844
178
PommaLabs.CodeServices.Caching
CodeServices.Caching - .NET component for caching. THIS PACKAGE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE PACKAGE OR THE USE OR OTHER DEALINGS IN THE PACKAGE.
139
PommaLabs.KVLite
KVLite is a partition-based key-value cache built for SQL RDBMSs. This package contains caching interfaces, data models and core implementations.
145
PommaLabs.KVLite
KVLite is a partition-based key-value cache built for SQL RDBMSs. This package contains caching interfaces, data models and core implementations.
174
PommaLabs.KVLite
KVLite is a partition-based key-value cache built for SQL RDBMSs. This package contains caching interfaces, data models and core implementations.
243
PommaLabs.KVLite
KVLite is a partition-based key-value cache built for SQL RDBMSs. This package contains caching interfaces, data models and core implementations.
341
PommaLabs.KVLite
KVLite is a partition-based key-value cache built for SQL RDBMSs. This package contains caching interfaces, data models and core implementations.
360
PommaLabs.KVLite
KVLite is a partition-based key-value cache built for SQL RDBMSs. This package contains caching interfaces, data models and core implementations.
373
PommaLabs.KVLite
KVLite is a partition-based key-value cache built for SQL RDBMSs. This package contains caching interfaces, data models and core implementations.
476
PommaLabs.KVLite.Core
KVLite is a partition-based key-value cache built for SQL RDBMSs. This package contains core implementations and base classes.
139

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

Version Downloads Last updated
10.0.0-preview.6.25358.103 2 07/18/2025
10.0.0-preview.5.25277.114 8 06/08/2025
10.0.0-preview.4.25258.110 9 05/15/2025
10.0.0-preview.3.25171.5 9 04/17/2025
10.0.0-preview.2.25163.2 14 03/20/2025
10.0.0-preview.1.25080.5 13 02/27/2025
9.0.7 2 07/17/2025
9.0.6 4 06/14/2025
9.0.5 6 05/18/2025
9.0.4 7 04/17/2025
9.0.3 13 03/14/2025
9.0.2 11 02/26/2025
9.0.1 15 01/29/2025
9.0.0 15 11/16/2024
9.0.0-rc.2.24473.5 16 10/08/2024
9.0.0-rc.1.24431.7 14 09/13/2024
9.0.0-preview.7.24405.7 15 08/13/2024
9.0.0-preview.6.24327.7 16 07/13/2024
9.0.0-preview.5.24306.7 11 06/20/2024
9.0.0-preview.4.24266.19 16 05/25/2024
9.0.0-preview.3.24172.9 20 04/13/2024
9.0.0-preview.2.24128.5 19 03/13/2024
9.0.0-preview.1.24080.9 20 02/15/2024
8.0.0 23 02/12/2024
8.0.0-rc.2.23479.6 23 12/08/2023
8.0.0-rc.1.23419.4 19 02/12/2024
8.0.0-preview.7.23375.6 18 02/12/2024
8.0.0-preview.6.23329.7 17 02/12/2024
8.0.0-preview.5.23280.8 20 02/12/2024
8.0.0-preview.4.23259.5 17 02/12/2024
8.0.0-preview.3.23174.8 16 02/12/2024
8.0.0-preview.2.23128.3 23 02/12/2024
8.0.0-preview.1.23110.8 17 02/12/2024
7.0.0 19 11/23/2022
7.0.0-rc.2.22472.3 20 02/12/2024
7.0.0-rc.1.22426.10 18 02/12/2024
7.0.0-preview.7.22375.6 16 02/12/2024
7.0.0-preview.6.22324.4 17 02/12/2024
7.0.0-preview.5.22301.12 23 02/12/2024
7.0.0-preview.4.22229.4 18 02/12/2024
7.0.0-preview.3.22175.4 16 02/12/2024
7.0.0-preview.2.22152.2 19 02/12/2024
7.0.0-preview.1.22076.8 17 02/12/2024
6.0.2-mauipre.1.22102.15 16 02/12/2024
6.0.2-mauipre.1.22054.8 16 02/12/2024
6.0.1 14 11/16/2024
6.0.0 333 11/19/2021
6.0.0-rc.2.21480.5 17 02/12/2024
6.0.0-rc.1.21451.13 20 02/12/2024
6.0.0-preview.7.21377.19 20 02/12/2024
6.0.0-preview.6.21352.12 17 02/12/2024
6.0.0-preview.5.21301.5 16 02/12/2024
6.0.0-preview.4.21253.7 19 02/12/2024
6.0.0-preview.3.21201.4 16 02/12/2024
6.0.0-preview.2.21154.6 17 02/12/2024
6.0.0-preview.1.21102.12 16 02/12/2024
5.0.0 778 11/12/2020
5.0.0-rc.2.20475.5 17 02/12/2024
5.0.0-rc.1.20451.14 19 02/12/2024
5.0.0-preview.8.20407.11 20 02/12/2024
5.0.0-preview.7.20364.11 22 02/12/2024
5.0.0-preview.6.20305.6 16 02/12/2024
5.0.0-preview.5.20278.1 17 02/12/2024
5.0.0-preview.4.20251.6 18 02/12/2024
5.0.0-preview.3.20215.2 22 02/12/2024
5.0.0-preview.2.20160.3 17 02/12/2024
5.0.0-preview.1.20120.4 17 02/12/2024
3.1.32 20 02/12/2024
3.1.31 18 02/12/2024
3.1.30 17 02/12/2024
3.1.29 21 02/12/2024
3.1.28 21 12/15/2023
3.1.27 17 02/12/2024
3.1.26 18 02/12/2024
3.1.25 18 02/12/2024
3.1.24 20 02/12/2024
3.1.23 18 02/12/2024
3.1.22 27 01/14/2022
3.1.21 77 12/07/2021
3.1.20 23 02/12/2024
3.1.19 37 02/12/2024
3.1.18 78 12/14/2021
3.1.17 24 07/13/2021
3.1.16 21 02/12/2024
3.1.15 19 05/11/2021
3.1.14 21 04/06/2021
3.1.13 69 03/09/2021
3.1.12 77 02/09/2021
3.1.11 23 01/25/2021
3.1.10 25 11/10/2020
3.1.9 159 10/25/2020
3.1.8 23 09/18/2020
3.1.7 20 02/10/2024
3.1.6 308 07/21/2020
3.1.5 25 08/24/2020
3.1.4 21 02/10/2024
3.1.3 30 04/18/2020
3.1.2 24 02/28/2020
3.1.1 20 02/10/2024
3.1.0 24 01/12/2021
3.1.0-preview3.19553.2 38 02/12/2024
3.1.0-preview2.19525.4 17 02/12/2024
3.1.0-preview1.19506.1 15 02/12/2024
3.0.3 42 02/10/2024
3.0.2 19 02/10/2024
3.0.1 22 02/10/2024
3.0.0 21 11/30/2020
3.0.0-rc1.19456.10 20 02/12/2024
3.0.0-preview9.19423.4 20 02/12/2024
3.0.0-preview8.19405.4 18 02/12/2024
3.0.0-preview7.19362.4 18 02/12/2024
3.0.0-preview6.19304.6 17 01/25/2024
3.0.0-preview5.19227.9 18 02/12/2024
3.0.0-preview4.19216.2 17 02/12/2024
3.0.0-preview3.19153.1 16 02/12/2024
3.0.0-preview.19074.2 17 02/12/2024
3.0.0-preview.18572.1 17 02/12/2024
2.2.0 94 06/23/2020
2.2.0-preview3-35497 19 02/12/2024
2.2.0-preview2-35157 20 02/12/2024
2.2.0-preview1-35029 17 02/12/2024
2.1.23 20 10/08/2021
2.1.2 20 11/30/2023
2.1.1 24 07/05/2020
2.1.0 21 02/17/2021
2.1.0-rc1-final 18 02/12/2024
2.1.0-preview2-final 21 02/12/2024
2.1.0-preview1-final 16 02/12/2024
2.0.2 21 02/10/2024
2.0.1 19 03/06/2021
2.0.0 1,273 06/21/2020
2.0.0-preview2-final 21 02/12/2024
2.0.0-preview1-final 21 01/19/2024
1.1.2 252 02/10/2020
1.1.1 18 02/19/2020
1.1.0 135 02/10/2020
1.1.0-preview1-final 19 02/12/2024
1.0.2 23 02/10/2024
1.0.1 19 02/10/2024
1.0.0 4,219 02/10/2020
1.0.0-rc2-final 22 02/12/2024
1.0.0-rc1-final 18 02/12/2024