Microsoft.Extensions.Caching.Abstractions 9.0.0

Prefix Reserved
dotnet add package Microsoft.Extensions.Caching.Abstractions --version 9.0.0                
NuGet\Install-Package Microsoft.Extensions.Caching.Abstractions -Version 9.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="9.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 9.0.0                
#r "nuget: Microsoft.Extensions.Caching.Abstractions, 9.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=9.0.0

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

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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.  net9.0 is compatible. 
.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.8K)

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

Package Downloads
Microsoft.Extensions.Caching.Memory

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

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/af22effae4069a5dfb9b0735859de48820104f5b

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/af22effae4069a5dfb9b0735859de48820104f5b

Microsoft.Extensions.Caching.SqlServer

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/af22effae4069a5dfb9b0735859de48820104f5b

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

GitHub repositories (135)

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

Repository Stars
jellyfin/jellyfin
The Free Software Media System - Server Backend & API
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
umbraco/Umbraco-CMS
Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
opserver/Opserver
Stack Exchange's Monitoring System
openiddict/openiddict-core
Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
Version Downloads Last updated
9.0.0 3,258,901 11/12/2024
9.0.0-rc.2.24473.5 296,366 10/8/2024
9.0.0-rc.1.24431.7 137,971 9/10/2024
9.0.0-preview.7.24405.7 124,575 8/13/2024
9.0.0-preview.6.24327.7 148,269 7/9/2024
9.0.0-preview.5.24306.7 73,699 6/11/2024
9.0.0-preview.4.24266.19 66,633 5/21/2024
9.0.0-preview.3.24172.9 174,949 4/11/2024
9.0.0-preview.2.24128.5 88,663 3/12/2024
9.0.0-preview.1.24080.9 98,368 2/13/2024
8.0.0 134,189,654 11/14/2023
8.0.0-rc.2.23479.6 1,248,493 10/10/2023
8.0.0-rc.1.23419.4 343,271 9/12/2023
8.0.0-preview.7.23375.6 430,727 8/8/2023
8.0.0-preview.6.23329.7 206,253 7/11/2023
8.0.0-preview.5.23280.8 145,303 6/13/2023
8.0.0-preview.4.23259.5 334,129 5/16/2023
8.0.0-preview.3.23174.8 238,652 4/11/2023
8.0.0-preview.2.23128.3 209,687 3/14/2023
8.0.0-preview.1.23110.8 227,820 2/21/2023
7.0.0 150,612,872 11/7/2022
7.0.0-rc.2.22472.3 279,041 10/11/2022
7.0.0-rc.1.22426.10 356,436 9/14/2022
7.0.0-preview.7.22375.6 124,319 8/9/2022
7.0.0-preview.6.22324.4 102,482 7/12/2022
7.0.0-preview.5.22301.12 92,475 6/14/2022
7.0.0-preview.4.22229.4 106,391 5/10/2022
7.0.0-preview.3.22175.4 92,202 4/13/2022
7.0.0-preview.2.22152.2 121,416 3/14/2022
7.0.0-preview.1.22076.8 84,460 2/17/2022
6.0.1 274,062 11/12/2024
6.0.0 320,680,411 11/8/2021
6.0.0-rc.2.21480.5 520,621 10/12/2021
6.0.0-rc.1.21451.13 263,561 9/14/2021
6.0.0-preview.7.21377.19 109,368 8/10/2021
6.0.0-preview.6.21352.12 55,884 7/14/2021
6.0.0-preview.5.21301.5 208,868 6/15/2021
6.0.0-preview.4.21253.7 125,918 5/24/2021
6.0.0-preview.3.21201.4 108,690 4/8/2021
6.0.0-preview.2.21154.6 81,301 3/11/2021 6.0.0-preview.2.21154.6 is deprecated because it is no longer maintained.
6.0.0-preview.1.21102.12 381,217 2/12/2021 6.0.0-preview.1.21102.12 is deprecated because it is no longer maintained.
5.0.0 196,989,995 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.5 388,946 10/13/2020 5.0.0-rc.2.20475.5 is deprecated because it is no longer maintained.
5.0.0-rc.1.20451.14 340,303 9/14/2020 5.0.0-rc.1.20451.14 is deprecated because it is no longer maintained.
5.0.0-preview.8.20407.11 205,005 8/25/2020 5.0.0-preview.8.20407.11 is deprecated because it is no longer maintained.
5.0.0-preview.7.20364.11 127,863 7/21/2020 5.0.0-preview.7.20364.11 is deprecated because it is no longer maintained.
5.0.0-preview.6.20305.6 84,638 6/25/2020 5.0.0-preview.6.20305.6 is deprecated because it is no longer maintained.
5.0.0-preview.5.20278.1 18,123 6/10/2020 5.0.0-preview.5.20278.1 is deprecated because it is no longer maintained.
5.0.0-preview.4.20251.6 254,420 5/18/2020 5.0.0-preview.4.20251.6 is deprecated because it is no longer maintained.
5.0.0-preview.3.20215.2 132,358 4/23/2020 5.0.0-preview.3.20215.2 is deprecated because it is no longer maintained.
5.0.0-preview.2.20160.3 116,892 4/2/2020 5.0.0-preview.2.20160.3 is deprecated because it is no longer maintained.
5.0.0-preview.1.20120.4 76,062 3/16/2020 5.0.0-preview.1.20120.4 is deprecated because it is no longer maintained.
3.1.32 6,056,346 12/13/2022
3.1.31 1,212,004 11/8/2022
3.1.30 1,513,421 10/11/2022
3.1.29 1,487,571 9/13/2022
3.1.28 1,011,059 8/9/2022
3.1.27 989,536 7/12/2022
3.1.26 815,752 6/14/2022
3.1.25 1,399,513 5/10/2022
3.1.24 951,580 4/11/2022
3.1.23 1,712,002 3/8/2022
3.1.22 5,314,522 12/14/2021
3.1.21 3,951,555 11/7/2021
3.1.20 2,299,805 10/11/2021
3.1.19 2,997,453 9/14/2021
3.1.18 6,105,777 8/10/2021
3.1.17 3,048,950 7/13/2021
3.1.16 4,221,809 6/8/2021
3.1.15 3,976,084 5/11/2021
3.1.14 5,082,680 4/6/2021
3.1.13 6,045,611 3/9/2021
3.1.12 4,875,076 2/9/2021
3.1.11 7,040,263 1/12/2021
3.1.10 13,327,131 11/9/2020
3.1.9 20,489,816 10/13/2020
3.1.8 34,704,656 9/8/2020
3.1.7 18,820,301 8/11/2020
3.1.6 18,659,081 7/14/2020
3.1.5 19,730,955 6/9/2020
3.1.4 22,776,295 5/12/2020
3.1.3 34,434,695 3/24/2020
3.1.2 17,628,225 2/18/2020
3.1.1 26,189,660 1/14/2020
3.1.0 49,877,621 12/3/2019
3.1.0-preview3.19553.2 163,258 11/13/2019 3.1.0-preview3.19553.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19525.4 34,833 11/1/2019 3.1.0-preview2.19525.4 is deprecated because it is no longer maintained.
3.1.0-preview1.19506.1 747,193 10/15/2019 3.1.0-preview1.19506.1 is deprecated because it is no longer maintained.
3.0.3 365,714 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 128,481 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.1 2,430,577 11/18/2019 3.0.1 is deprecated because it is no longer maintained.
3.0.0 41,202,237 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19456.10 47,412 9/16/2019 3.0.0-rc1.19456.10 is deprecated because it is no longer maintained.
3.0.0-preview9.19423.4 1,364,290 9/4/2019 3.0.0-preview9.19423.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.4 413,994 8/13/2019 3.0.0-preview8.19405.4 is deprecated because it is no longer maintained.
3.0.0-preview7.19362.4 95,390 7/23/2019 3.0.0-preview7.19362.4 is deprecated because it is no longer maintained.
3.0.0-preview6.19304.6 178,284 6/12/2019 3.0.0-preview6.19304.6 is deprecated because it is no longer maintained.
3.0.0-preview5.19227.9 652,097 5/6/2019 3.0.0-preview5.19227.9 is deprecated because it is no longer maintained.
3.0.0-preview4.19216.2 23,768 4/18/2019 3.0.0-preview4.19216.2 is deprecated because it is no longer maintained.
3.0.0-preview3.19153.1 218,412 3/6/2019 3.0.0-preview3.19153.1 is deprecated because it is no longer maintained.
3.0.0-preview.19074.2 32,444 1/29/2019 3.0.0-preview.19074.2 is deprecated because it is no longer maintained.
3.0.0-preview.18572.1 53,285 12/3/2018 3.0.0-preview.18572.1 is deprecated because it is no longer maintained.
2.2.0 182,137,419 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 261,021 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 184,478 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 109,205 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.23 1,192,450 10/13/2020
2.1.2 62,263,122 8/21/2018
2.1.1 48,726,057 6/18/2018
2.1.0 72,108,964 5/29/2018
2.1.0-rc1-final 256,774 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 245,711 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 398,501 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.2 11,565,756 5/7/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 17,078,958 3/13/2018 2.0.1 is deprecated because it is no longer maintained.
2.0.0 111,175,256 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 141,599 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 1,057,076 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.2 8,670,491 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 17,257,215 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 9,717,435 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 79,754 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.2 4,231,929 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 660,365 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 255,247,048 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 293,201 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.
1.0.0-rc1-final 520,173 11/18/2015 1.0.0-rc1-final is deprecated because it is no longer maintained.