Microsoft.Extensions.Caching.Abstractions 10.0.1

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.
53
Microsoft.Extensions.Caching.SqlServer
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Microsoft SQL Server.
52
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
51
Microsoft.Extensions.Caching.Redis
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Redis.
49
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.
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/dotnet/aspnetcore/tree/2670c128d522473e146ff9f8159bfffdfe694cd9
48
Microsoft.Extensions.Caching.SqlServer
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Microsoft SQL Server.
48
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
48
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/aspnet/AspNetCore/tree/7e8bbb70b266b2fdaf0b11ec47fb3077761fb6bf
46
Microsoft.Extensions.Caching.Redis
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Redis.
46
Microsoft.AspNetCore.Session
ASP.NET Core session state middleware.
45
Microsoft.Extensions.Caching.SqlServer
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Microsoft SQL Server.
45
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/d47e49e9c1e173ac90821f7e89cc38e710274241
45
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
45
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/3fe12b935c03138f76364dc877a7e069e254b5b2
45
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
45

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

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