Microsoft.Extensions.Caching.Memory 2.0.0-preview1-final

Prefix Reserved
Additional Details

This package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217

This is a prerelease version of Microsoft.Extensions.Caching.Memory.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.Extensions.Caching.Memory --version 2.0.0-preview1-final
                    
NuGet\Install-Package Microsoft.Extensions.Caching.Memory -Version 2.0.0-preview1-final
                    
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.Memory" Version="2.0.0-preview1-final" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="2.0.0-preview1-final" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Extensions.Caching.Memory" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.Extensions.Caching.Memory --version 2.0.0-preview1-final
                    
#r "nuget: Microsoft.Extensions.Caching.Memory, 2.0.0-preview1-final"
                    
#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.
#addin nuget:?package=Microsoft.Extensions.Caching.Memory&version=2.0.0-preview1-final&prerelease
                    
Install Microsoft.Extensions.Caching.Memory as a Cake Addin
#tool nuget:?package=Microsoft.Extensions.Caching.Memory&version=2.0.0-preview1-final&prerelease
                    
Install Microsoft.Extensions.Caching.Memory as a Cake Tool

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

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 was computed.  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 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework net46 was computed.  net461 was computed.  net462 was computed.  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 tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 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 (2.9K)

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

Package Downloads
Microsoft.EntityFrameworkCore

Entity Framework Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations. EF Core works with SQL Server, Azure SQL Database, SQLite, Azure Cosmos DB, MySQL, PostgreSQL, and other databases through a provider plugin API. Commonly Used Types: Microsoft.EntityFrameworkCore.DbContext Microsoft.EntityFrameworkCore.DbSet

Microsoft.EntityFrameworkCore.Relational

Shared Entity Framework Core components for relational database providers.

Microsoft.Data.SqlClient

The current data provider for SQL Server and Azure SQL databases. This has replaced System.Data.SqlClient. These classes provide access to SQL and encapsulate database-specific protocols, including tabular data stream (TDS). Commonly Used Types: Microsoft.Data.SqlClient.SqlConnection Microsoft.Data.SqlClient.SqlException Microsoft.Data.SqlClient.SqlParameter Microsoft.Data.SqlClient.SqlDataReader Microsoft.Data.SqlClient.SqlCommand Microsoft.Data.SqlClient.SqlTransaction Microsoft.Data.SqlClient.SqlParameterCollection Microsoft.Data.SqlClient.SqlClientFactory When using NuGet 3.x this package requires at least version 3.4.

Microsoft.EntityFrameworkCore.SqlServer

Microsoft SQL Server database provider for Entity Framework Core.

Microsoft.EntityFrameworkCore.Design

Shared design-time components for Entity Framework Core tools.

GitHub repositories (308)

Showing the top 20 popular GitHub repositories that depend on Microsoft.Extensions.Caching.Memory:

Repository Stars
jellyfin/jellyfin
The Free Software Media System - Server Backend & API
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
dotnet/efcore
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
App-vNext/Polly
Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. From version 6.0.1, Polly targets .NET Standard 1.1 and 2.0+.
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
Flow-Launcher/Flow.Launcher
:mag: Quick file search & app launcher for Windows with community-made plugins
JeffreySu/WeiXinMPSDK
微信全平台 .NET SDK, Senparc.Weixin for C#,支持 .NET Framework 及 .NET Core、.NET 8.0。已支持微信公众号、小程序、小游戏、微信支付、企业微信/企业号、开放平台、JSSDK、微信周边等全平台。 WeChat SDK for C#.
ThreeMammals/Ocelot
.NET API Gateway
MassTransit/MassTransit
Distributed Application Framework for .NET
elsa-workflows/elsa-core
A .NET workflows library
LykosAI/StabilityMatrix
Multi-Platform Package Manager for Stable Diffusion
graphql-dotnet/graphql-dotnet
GraphQL for .NET
aspnet/Mvc
[Archived] ASP.NET Core MVC is a model view controller framework for building dynamic web sites with clean separation of concerns, including the merged MVC, Web API, and Web Pages w/ Razor. Project moved to https://github.com/aspnet/AspNetCore
DotNetNext/SqlSugar
.Net aot ORM Fastest ORM DB2 Hana 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
ChilliCream/graphql-platform
Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Nitro the awesome Monaco based GraphQL IDE.
anjoy8/Blog.Core
💖 ASP.NET Core 8.0 全家桶教程,前后端分离后端接口,vue教程姊妹篇,官方文档:
umbraco/Umbraco-CMS
Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
immense/Remotely
A remote control and remote scripting solution, built with .NET 8, Blazor, and SignalR.
openiddict/openiddict-core
Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
Version Downloads Last updated
10.0.0-preview.4.25258.110 0 5/12/2025
10.0.0-preview.3.25171.5 6,373 4/10/2025
10.0.0-preview.2.25163.2 7,811 3/18/2025
10.0.0-preview.1.25080.5 11,129 2/25/2025
9.0.5 0 5/13/2025
9.0.4 3,112,550 4/8/2025
9.0.3 4,286,321 3/11/2025
9.0.2 5,931,905 2/11/2025
9.0.1 8,168,969 1/14/2025
9.0.0 20,297,579 11/12/2024
9.0.0-rc.2.24473.5 595,213 10/8/2024
9.0.0-rc.1.24431.7 253,115 9/10/2024 9.0.0-rc.1.24431.7 has at least one vulnerability with high severity.
9.0.0-preview.7.24405.7 384,321 8/13/2024 9.0.0-preview.7.24405.7 has at least one vulnerability with high severity.
9.0.0-preview.6.24327.7 263,507 7/9/2024 9.0.0-preview.6.24327.7 has at least one vulnerability with high severity.
9.0.0-preview.5.24306.7 86,894 6/11/2024 9.0.0-preview.5.24306.7 has at least one vulnerability with high severity.
9.0.0-preview.4.24266.19 78,742 5/21/2024 9.0.0-preview.4.24266.19 has at least one vulnerability with high severity.
9.0.0-preview.3.24172.9 198,201 4/11/2024 9.0.0-preview.3.24172.9 has at least one vulnerability with high severity.
9.0.0-preview.2.24128.5 90,968 3/12/2024 9.0.0-preview.2.24128.5 has at least one vulnerability with high severity.
9.0.0-preview.1.24080.9 115,909 2/13/2024 9.0.0-preview.1.24080.9 has at least one vulnerability with high severity.
8.0.1 63,346,174 10/8/2024
8.0.0 157,651,784 11/14/2023 8.0.0 has at least one vulnerability with high severity.
8.0.0-rc.2.23479.6 1,465,398 10/10/2023 8.0.0-rc.2.23479.6 has at least one vulnerability with high severity.
8.0.0-rc.1.23419.4 369,217 9/12/2023 8.0.0-rc.1.23419.4 has at least one vulnerability with high severity.
8.0.0-preview.7.23375.6 467,876 8/8/2023 8.0.0-preview.7.23375.6 has at least one vulnerability with high severity.
8.0.0-preview.6.23329.7 207,932 7/11/2023 8.0.0-preview.6.23329.7 has at least one vulnerability with high severity.
8.0.0-preview.5.23280.8 186,899 6/13/2023 8.0.0-preview.5.23280.8 has at least one vulnerability with high severity.
8.0.0-preview.4.23259.5 146,343 5/16/2023 8.0.0-preview.4.23259.5 has at least one vulnerability with high severity.
8.0.0-preview.3.23174.8 235,537 4/11/2023 8.0.0-preview.3.23174.8 has at least one vulnerability with high severity.
8.0.0-preview.2.23128.3 209,161 3/14/2023 8.0.0-preview.2.23128.3 has at least one vulnerability with high severity.
8.0.0-preview.1.23110.8 141,789 2/21/2023 8.0.0-preview.1.23110.8 has at least one vulnerability with high severity.
7.0.0 153,645,093 11/7/2022
7.0.0-rc.2.22472.3 247,995 10/11/2022
7.0.0-rc.1.22426.10 249,451 9/14/2022
7.0.0-preview.7.22375.6 113,857 8/9/2022
7.0.0-preview.6.22324.4 82,340 7/12/2022
7.0.0-preview.5.22301.12 70,346 6/14/2022
7.0.0-preview.4.22229.4 83,324 5/10/2022
7.0.0-preview.3.22175.4 80,739 4/13/2022
7.0.0-preview.2.22152.2 89,026 3/14/2022
7.0.0-preview.1.22076.8 75,134 2/17/2022
6.0.3 1,640,258 11/12/2024
6.0.2 2,750,811 10/8/2024
6.0.1 241,605,863 2/8/2022 6.0.1 has at least one vulnerability with high severity.
6.0.0 121,874,869 11/8/2021 6.0.0 has at least one vulnerability with high severity.
6.0.0-rc.2.21480.5 522,314 10/12/2021 6.0.0-rc.2.21480.5 has at least one vulnerability with high severity.
6.0.0-rc.1.21451.13 276,495 9/14/2021 6.0.0-rc.1.21451.13 has at least one vulnerability with high severity.
6.0.0-preview.7.21377.19 101,564 8/10/2021 6.0.0-preview.7.21377.19 has at least one vulnerability with high severity.
6.0.0-preview.6.21352.12 50,027 7/14/2021 6.0.0-preview.6.21352.12 has at least one vulnerability with high severity.
6.0.0-preview.5.21301.5 191,036 6/15/2021 6.0.0-preview.5.21301.5 has at least one vulnerability with high severity.
6.0.0-preview.4.21253.7 88,261 5/24/2021 6.0.0-preview.4.21253.7 has at least one vulnerability with high severity.
6.0.0-preview.3.21201.4 102,124 4/8/2021 6.0.0-preview.3.21201.4 has at least one vulnerability with high severity.
6.0.0-preview.2.21154.6 74,357 3/11/2021 6.0.0-preview.2.21154.6 is deprecated because it is no longer maintained; 6.0.0-preview.2.21154.6 has at least one vulnerability with high severity.
6.0.0-preview.1.21102.12 368,604 2/12/2021 6.0.0-preview.1.21102.12 is deprecated because it is no longer maintained; 6.0.0-preview.1.21102.12 has at least one vulnerability with high severity.
5.0.0 185,356,426 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.5 387,397 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 326,634 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,407 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 119,457 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 59,183 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 6,660 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 202,322 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 119,499 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 113,453 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 62,431 3/16/2020 5.0.0-preview.1.20120.4 is deprecated because it is no longer maintained.
3.1.32 7,294,032 12/13/2022
3.1.31 1,420,261 11/8/2022
3.1.30 1,199,111 10/11/2022
3.1.29 1,635,406 9/13/2022
3.1.28 965,187 8/9/2022
3.1.27 977,099 7/12/2022
3.1.26 777,411 6/14/2022
3.1.25 1,272,991 5/10/2022
3.1.24 873,627 4/11/2022
3.1.23 1,650,404 3/8/2022
3.1.22 5,212,390 12/14/2021
3.1.21 3,682,036 11/7/2021
3.1.20 2,234,115 10/11/2021
3.1.19 2,765,793 9/14/2021
3.1.18 5,807,802 8/10/2021
3.1.17 2,432,658 7/13/2021
3.1.16 3,646,405 6/8/2021
3.1.15 3,742,730 5/11/2021
3.1.14 4,704,975 4/6/2021
3.1.13 5,779,088 3/9/2021
3.1.12 3,948,907 2/9/2021
3.1.11 6,722,928 1/12/2021
3.1.10 12,797,845 11/9/2020
3.1.9 17,317,698 10/13/2020
3.1.8 34,837,043 9/8/2020
3.1.7 17,066,518 8/11/2020
3.1.6 18,191,974 7/14/2020
3.1.5 18,052,329 6/9/2020
3.1.4 21,131,206 5/12/2020
3.1.3 32,612,476 3/24/2020
3.1.2 15,905,032 2/18/2020
3.1.1 25,310,812 1/14/2020
3.1.0 44,239,355 12/3/2019
3.1.0-preview3.19553.2 166,012 11/13/2019 3.1.0-preview3.19553.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19525.4 32,766 11/1/2019 3.1.0-preview2.19525.4 is deprecated because it is no longer maintained.
3.1.0-preview1.19506.1 764,695 10/15/2019 3.1.0-preview1.19506.1 is deprecated because it is no longer maintained.
3.0.3 339,090 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 97,528 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.1 2,203,900 11/18/2019 3.0.1 is deprecated because it is no longer maintained.
3.0.0 39,942,232 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19456.10 47,271 9/16/2019 3.0.0-rc1.19456.10 is deprecated because it is no longer maintained.
3.0.0-preview9.19423.4 1,385,248 9/4/2019 3.0.0-preview9.19423.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.4 407,408 8/13/2019 3.0.0-preview8.19405.4 is deprecated because it is no longer maintained.
3.0.0-preview7.19362.4 93,943 7/23/2019 3.0.0-preview7.19362.4 is deprecated because it is no longer maintained.
3.0.0-preview6.19304.6 179,499 6/12/2019 3.0.0-preview6.19304.6 is deprecated because it is no longer maintained.
3.0.0-preview5.19227.9 649,548 5/6/2019 3.0.0-preview5.19227.9 is deprecated because it is no longer maintained.
3.0.0-preview4.19216.2 23,316 4/18/2019 3.0.0-preview4.19216.2 is deprecated because it is no longer maintained.
3.0.0-preview3.19153.1 217,943 3/6/2019 3.0.0-preview3.19153.1 is deprecated because it is no longer maintained.
3.0.0-preview.19074.2 33,675 1/29/2019 3.0.0-preview.19074.2 is deprecated because it is no longer maintained.
3.0.0-preview.18572.1 53,796 12/3/2018 3.0.0-preview.18572.1 is deprecated because it is no longer maintained.
2.2.0 170,123,367 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 244,556 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 177,796 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 104,030 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.23 39,803,673 10/13/2020
2.1.2 34,986,867 8/21/2018
2.1.1 51,069,220 6/18/2018
2.1.0 75,056,274 5/29/2018
2.1.0-rc1-final 259,274 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 251,708 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 402,807 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.2 11,298,368 5/7/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 17,520,409 3/13/2018 2.0.1 is deprecated because it is no longer maintained.
2.0.0 113,364,748 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 136,243 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 1,081,062 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.2 8,696,274 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 17,926,086 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 10,140,443 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 70,850 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.2 4,447,452 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 628,300 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 293,194,489 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 293,341 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.
1.0.0-rc1-final 515,894 11/18/2015 1.0.0-rc1-final is deprecated because it is no longer maintained.