System.Runtime.Caching
10.0.0-preview.4.25255.103
See the version list below for details.
dotnet add package System.Runtime.Caching --version 10.0.0-preview.4.25255.103
NuGet\Install-Package System.Runtime.Caching -Version 10.0.0-preview.4.25255.103
<PackageReference Include="System.Runtime.Caching" Version="10.0.0-preview.4.25255.103" />
<PackageVersion Include="System.Runtime.Caching" Version="10.0.0-preview.4.25255.103" />
<PackageReference Include="System.Runtime.Caching" />
paket add System.Runtime.Caching --version 10.0.0-preview.4.25255.103
#r "nuget: System.Runtime.Caching, 10.0.0-preview.4.25255.103"
#addin nuget:?package=System.Runtime.Caching&version=10.0.0-preview.4.25255.103&prerelease
#tool nuget:?package=System.Runtime.Caching&version=10.0.0-preview.4.25255.103&prerelease
About
Packaged set of simple caching API's derived from those of the same namespace available in .NET Framework since 4.0. This package is intended for use as a bridge when porting .NET Framework applications to .NET.
Microsoft.Extensions.Caching.Memory/IMemoryCache is recommended over System.Runtime.Caching
/MemoryCache
because it's better integrated into ASP.NET Core. For example, IMemoryCache
works natively with ASP.NET Core dependency injection.
Use System.Runtime.Caching
/MemoryCache
as a compatibility bridge when porting code from .NET 4.x to .NET Core.
Key Features
- Use caching facilities like in ASP.NET, but without a dependency on the System.Web assembly.
- Extensible caching mechanism
- Possible to create custom caching providers
Main Types
The main types provided by this library are:
System.Runtime.Caching.MemoryCache
Additional Documentation
MemoryCache.PhysicalMemoryLimit property is only supported on windows.
Related Packages
Feedback & Contributing
System.Runtime.Caching is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.
Product | Versions 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. 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. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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. monoandroid10 is compatible. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. monotouch10 is compatible. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. xamarinios10 is compatible. |
Xamarin.Mac | xamarinmac was computed. xamarinmac20 is compatible. |
Xamarin.TVOS | xamarintvos was computed. xamarintvos10 is compatible. |
Xamarin.WatchOS | xamarinwatchos was computed. xamarinwatchos10 is compatible. |
-
.NETStandard 2.0
- System.Configuration.ConfigurationManager (>= 10.0.0-preview.4.25255.103)
-
net10.0
- System.Configuration.ConfigurationManager (>= 10.0.0-preview.4.25255.103)
-
net8.0
- System.Configuration.ConfigurationManager (>= 10.0.0-preview.4.25255.103)
-
net9.0
- System.Configuration.ConfigurationManager (>= 10.0.0-preview.4.25255.103)
GitHub repositories (73)
Showing the top 20 popular GitHub repositories that depend on System.Runtime.Caching:
Repository | Stars |
---|---|
microsoft/PowerToys
Windows system utilities to maximize productivity
|
|
BeyondDimension/SteamTools
🛠「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。
|
|
StackExchange/StackExchange.Redis
General purpose redis client
|
|
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
|
|
ravendb/ravendb
ACID Document Database
|
|
dotnet/samples
Sample code referenced by the .NET documentation
|
|
ChangemakerStudios/Papercut-SMTP
Papercut SMTP -- The Simple Desktop Email Server
|
|
dotnet/interactive
.NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.
|
|
ashmind/SharpLab
.NET language playground
|
|
obfuscar/obfuscar
Open source obfuscation tool for .NET assemblies
|
|
NuGetPackageExplorer/NuGetPackageExplorer
Create, update and deploy Nuget Packages with a GUI
|
|
MichaCo/CacheManager
CacheManager is an open source caching abstraction layer for .NET written in C#. It supports various cache providers and implements many advanced features.
|
|
microsoft/GraphEngine
Microsoft Graph Engine
|
|
ArduPilot/MissionPlanner
Mission Planner Ground Control Station for ArduPilot (c# .net)
|
|
microsoft/kernel-memory
RAG architecture: index and query any data using LLM and natural language, track sources, show citations, asynchronous memory patterns.
|
|
dotnet/dotNext
Next generation API for .NET
|
|
AlphaYu/adnc
.NET微服务/分布式开发框架,同时也适用于单体架构系统的开发。
|
|
Excel-DNA/ExcelDna
Excel-DNA - Free and easy .NET for Excel. This repository contains the core Excel-DNA library.
|
|
smartstore/Smartstore
A modular, scalable and ultra-fast open-source all-in-one eCommerce platform built on ASP.NET Core 7
|
Version | Downloads | Last updated |
---|---|---|
10.0.0-preview.5.25280.105 | 0 | 6/2/2025 |
10.0.0-preview.5.25277.114 | 0 | 6/3/2025 |
10.0.0-preview.5.25277.101 | 0 | 5/29/2025 |
10.0.0-preview.5.25266.103 | 0 | 5/20/2025 |
10.0.0-preview.4.25255.103 | 0 | 5/12/2025 |
4.6.0-preview.19073.11 | 2 | 1/28/2019 |
4.6.0-preview.18571.3 | 2 | 11/30/2018 |