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
Microsoft.AspNetCore.Session
ASP.NET Core session state middleware.
52
Microsoft.Extensions.Caching.SqlServer
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Microsoft SQL Server.
50
Microsoft.Extensions.Caching.Redis
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Redis.
49
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/aspnet/AspNetCore/tree/c3acdcac86dad91c3d3fbc3b93ecc6b7ba494bdc
49
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
47
IdentityServer4
OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
46
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/2670c128d522473e146ff9f8159bfffdfe694cd9
46
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/aspnet/AspNetCore/tree/7e8bbb70b266b2fdaf0b11ec47fb3077761fb6bf
45
Microsoft.Extensions.Caching.SqlServer
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Microsoft SQL Server.
45
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
45
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.
45
Microsoft.Extensions.Caching.Redis
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Redis.
44
Microsoft.Extensions.Caching.SqlServer
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Microsoft SQL Server.
44
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/e56abc45c4f8adc518abfc11a59849d616431e2c
44
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/aspnet/AspNetCore/tree/0a2e366eaf4d29b24b9a98e5782a04bef573189e
44
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
44

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

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