Microsoft.Extensions.Caching.Abstractions 8.0.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Microsoft.Extensions.Caching.Abstractions --version 8.0.0
NuGet\Install-Package Microsoft.Extensions.Caching.Abstractions -Version 8.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="8.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Extensions.Caching.Abstractions --version 8.0.0
#r "nuget: Microsoft.Extensions.Caching.Abstractions, 8.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.Extensions.Caching.Abstractions as a Cake Addin
#addin nuget:?package=Microsoft.Extensions.Caching.Abstractions&version=8.0.0

// Install Microsoft.Extensions.Caching.Abstractions as a Cake Tool
#tool nuget:?package=Microsoft.Extensions.Caching.Abstractions&version=8.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.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1.6K)

Showing the top 5 NuGet packages that depend on Microsoft.Extensions.Caching.Abstractions:

Package Downloads
Microsoft.Extensions.Caching.Memory The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.

Microsoft.Extensions.Identity.Stores The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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/8af96e042134fb3b2f21df26dd0f32ea1c00dd37

Microsoft.Extensions.Caching.StackExchangeRedis The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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/8af96e042134fb3b2f21df26dd0f32ea1c00dd37

Microsoft.Extensions.Caching.SqlServer The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Microsoft SQL Server. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/8af96e042134fb3b2f21df26dd0f32ea1c00dd37

Microsoft.AspNetCore.Session The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

ASP.NET Core session state middleware. This package was built from the source code at https://github.com/aspnet/Session/tree/774079d60d29762ef7c8bba3f0fa06e73cb323f2

GitHub repositories (133)

Showing the top 5 popular GitHub repositories that depend on Microsoft.Extensions.Caching.Abstractions:

Repository Stars
jellyfin/jellyfin
The Free Software Media System
elsa-workflows/elsa-core
A .NET workflows library
DotNetNext/SqlSugar
.Net aot ORM Fastest ORM Simple Easy VB.NET Sqlite orm Oracle ORM Mysql Orm postgresql ORm SqlServer oRm 达梦 ORM 人大金仓 ORM 神通ORM C# ORM , C# ORM .NET ORM NET5 ORM .NET6 ORM ClickHouse orm QuestDb ,TDengine ORM,OceanBase orm,GaussDB orm ,Tidb orm Object/Relational Mapping
opserver/Opserver
Stack Exchange's Monitoring System
fullstackhero/dotnet-starter-kit
Production Grade Cloud-Ready .NET 8 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
Version Downloads Last updated
9.0.0-preview.5.24306.7 7,724 6/11/2024
9.0.0-preview.4.24266.19 22,108 5/21/2024
9.0.0-preview.3.24172.9 67,587 4/11/2024
9.0.0-preview.2.24128.5 54,571 3/12/2024
9.0.0-preview.1.24080.9 67,553 2/13/2024
8.0.0 44,472,735 11/14/2023
8.0.0-rc.2.23479.6 828,926 10/10/2023
8.0.0-rc.1.23419.4 260,699 9/12/2023
8.0.0-preview.7.23375.6 247,024 8/8/2023
8.0.0-preview.6.23329.7 150,568 7/11/2023
8.0.0-preview.5.23280.8 125,264 6/13/2023
8.0.0-preview.4.23259.5 247,551 5/16/2023
8.0.0-preview.3.23174.8 194,384 4/11/2023
8.0.0-preview.2.23128.3 189,405 3/14/2023
8.0.0-preview.1.23110.8 199,786 2/21/2023
7.0.0 120,149,846 11/7/2022
7.0.0-rc.2.22472.3 258,325 10/11/2022
7.0.0-rc.1.22426.10 340,077 9/14/2022
7.0.0-preview.7.22375.6 113,379 8/9/2022
7.0.0-preview.6.22324.4 94,015 7/12/2022
7.0.0-preview.5.22301.12 87,526 6/14/2022
7.0.0-preview.4.22229.4 99,375 5/10/2022
7.0.0-preview.3.22175.4 85,859 4/13/2022
7.0.0-preview.2.22152.2 117,479 3/14/2022
7.0.0-preview.1.22076.8 78,253 2/17/2022
6.0.0 270,474,523 11/8/2021
6.0.0-rc.2.21480.5 460,443 10/12/2021
6.0.0-rc.1.21451.13 223,746 9/14/2021
6.0.0-preview.7.21377.19 102,781 8/10/2021
6.0.0-preview.6.21352.12 54,379 7/14/2021
6.0.0-preview.5.21301.5 198,470 6/15/2021
6.0.0-preview.4.21253.7 118,774 5/24/2021
6.0.0-preview.3.21201.4 104,334 4/8/2021
6.0.0-preview.2.21154.6 77,051 3/11/2021
6.0.0-preview.1.21102.12 377,403 2/12/2021
5.0.0 182,911,865 11/9/2020
5.0.0-rc.2.20475.5 382,056 10/13/2020
5.0.0-rc.1.20451.14 335,355 9/14/2020
5.0.0-preview.8.20407.11 200,792 8/25/2020
5.0.0-preview.7.20364.11 125,909 7/21/2020
5.0.0-preview.6.20305.6 83,627 6/25/2020
5.0.0-preview.5.20278.1 16,560 6/10/2020
5.0.0-preview.4.20251.6 252,322 5/18/2020
5.0.0-preview.3.20215.2 129,865 4/23/2020
5.0.0-preview.2.20160.3 114,435 4/2/2020
5.0.0-preview.1.20120.4 75,525 3/16/2020
3.1.32 4,069,131 12/13/2022
3.1.31 841,308 11/8/2022
3.1.30 1,197,116 10/11/2022
3.1.29 1,153,685 9/13/2022
3.1.28 856,683 8/9/2022
3.1.27 889,854 7/12/2022
3.1.26 744,912 6/14/2022
3.1.25 1,265,169 5/10/2022
3.1.24 864,814 4/11/2022
3.1.23 1,537,797 3/8/2022
3.1.22 4,590,470 12/14/2021
3.1.21 3,654,708 11/7/2021
3.1.20 2,029,208 10/11/2021
3.1.19 2,821,977 9/14/2021
3.1.18 5,739,130 8/10/2021
3.1.17 2,882,753 7/13/2021
3.1.16 3,889,931 6/8/2021
3.1.15 3,731,784 5/11/2021
3.1.14 4,730,313 4/6/2021
3.1.13 5,668,729 3/9/2021
3.1.12 4,591,257 2/9/2021
3.1.11 6,708,551 1/12/2021
3.1.10 12,386,997 11/9/2020
3.1.9 19,563,901 10/13/2020
3.1.8 32,000,602 9/8/2020
3.1.7 17,790,196 8/11/2020
3.1.6 17,706,754 7/14/2020
3.1.5 18,961,532 6/9/2020
3.1.4 21,839,871 5/12/2020
3.1.3 32,830,728 3/24/2020
3.1.2 16,981,741 2/18/2020
3.1.1 25,016,927 1/14/2020
3.1.0 45,579,993 12/3/2019
3.1.0-preview3.19553.2 159,405 11/13/2019
3.1.0-preview2.19525.4 34,317 11/1/2019
3.1.0-preview1.19506.1 714,077 10/15/2019
3.0.3 339,883 2/18/2020
3.0.2 126,609 1/14/2020
3.0.1 2,360,573 11/18/2019
3.0.0 37,957,346 9/23/2019
3.0.0-rc1.19456.10 46,712 9/16/2019
3.0.0-preview9.19423.4 1,324,287 9/4/2019
3.0.0-preview8.19405.4 398,980 8/13/2019
3.0.0-preview7.19362.4 93,060 7/23/2019
3.0.0-preview6.19304.6 171,836 6/12/2019
3.0.0-preview5.19227.9 629,997 5/6/2019
3.0.0-preview4.19216.2 23,360 4/18/2019
3.0.0-preview3.19153.1 212,937 3/6/2019
3.0.0-preview.19074.2 31,679 1/29/2019
3.0.0-preview.18572.1 51,949 12/3/2018
2.2.0 163,732,831 12/3/2018
2.2.0-preview3-35497 258,677 10/17/2018
2.2.0-preview2-35157 179,777 9/12/2018
2.2.0-preview1-35029 107,340 8/22/2018
2.1.23 1,049,265 10/13/2020
2.1.2 47,509,665 8/21/2018
2.1.1 45,303,168 6/18/2018
2.1.0 64,487,934 5/29/2018
2.1.0-rc1-final 249,489 5/6/2018
2.1.0-preview2-final 236,291 4/10/2018
2.1.0-preview1-final 388,925 2/26/2018
2.0.2 11,116,530 5/7/2018
2.0.1 16,605,348 3/13/2018
2.0.0 103,567,212 8/11/2017
2.0.0-preview2-final 138,535 6/28/2017
2.0.0-preview1-final 1,033,967 5/10/2017
1.1.2 8,143,735 5/9/2017
1.1.1 16,145,801 3/6/2017
1.1.0 8,945,472 11/16/2016
1.1.0-preview1-final 78,878 10/24/2016
1.0.2 3,998,332 3/6/2017
1.0.1 653,619 12/12/2016
1.0.0 212,550,598 6/27/2016
1.0.0-rc2-final 283,656 5/16/2016
1.0.0-rc1-final 515,992 11/18/2015