System.Runtime.Caching 9.0.0-preview.3.24172.9

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.

Feedback & Contributing

System.Runtime.Caching 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 System.Runtime.Caching.

Packages Downloads
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET as well as .NET Standard.
35
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET as well as .NET Standard.
41
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET as well as .NET Standard.
43
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET as well as .NET Standard.
50
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET as well as .NET Standard.
53
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET Core as well as .NET Standard.
32
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET Core as well as .NET Standard.
43
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET Core as well as .NET Standard.
46
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET Core as well as .NET Standard. 10dc31ea70c14a33f371cea5a757a3d95b218acf When using NuGet 3.x this package requires at least version 3.4.
37
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET Core as well as .NET Standard. 8f968b9e79c5721d78cc88e46fe57457fe9d490d When using NuGet 3.x this package requires at least version 3.4.
50
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET Core as well as .NET Standard. When using NuGet 3.x this package requires at least version 3.4.
36
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET Core as well as .NET Standard. When using NuGet 3.x this package requires at least version 3.4.
39
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET Core as well as .NET Standard. When using NuGet 3.x this package requires at least version 3.4.
42
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET Core as well as .NET Standard. When using NuGet 3.x this package requires at least version 3.4.
43
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET Core as well as .NET Standard. When using NuGet 3.x this package requires at least version 3.4.
46
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET Core as well as .NET Standard. When using NuGet 3.x this package requires at least version 3.4.
53
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET Core as well as .NET Standard. When using NuGet 3.x this package requires at least version 3.4.
54

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

.NET 8.0

.NET 9.0

.NET Standard 2.0

Version Downloads Last updated
9.0.0-preview.3.24172.9 1 04/18/2024
9.0.0-preview.2.24128.5 2 03/13/2024
9.0.0-preview.1.24080.9 3 03/07/2024
8.0.0 3 11/16/2023
8.0.0-rc.2.23479.6 6 10/13/2023
8.0.0-rc.1.23419.4 5 09/18/2023
8.0.0-preview.7.23375.6 3 09/07/2023
8.0.0-preview.6.23329.7 5 09/14/2023
8.0.0-preview.5.23280.8 7 06/18/2023
8.0.0-preview.4.23259.5 6 07/03/2023
8.0.0-preview.3.23174.8 28 04/15/2023
8.0.0-preview.2.23128.3 29 04/01/2023
8.0.0-preview.1.23110.8 44 04/07/2023
7.0.0 31 12/26/2022
7.0.0-rc.2.22472.3 29 12/06/2022
7.0.0-rc.1.22426.10 18 09/23/2022
7.0.0-preview.7.22375.6 40 09/11/2022
7.0.0-preview.6.22324.4 32 09/22/2022
7.0.0-preview.5.22301.12 42 09/24/2022
7.0.0-preview.4.22229.4 29 09/21/2022
7.0.0-preview.3.22175.4 43 09/23/2022
7.0.0-preview.2.22152.2 33 09/24/2022
7.0.0-preview.1.22076.8 33 09/24/2022
6.0.2-mauipre.1.22102.15 30 09/22/2022
6.0.2-mauipre.1.22054.8 41 09/21/2022
6.0.0 43 09/10/2022
6.0.0-rc.2.21480.5 31 09/21/2022
6.0.0-rc.1.21451.13 67 09/21/2022
6.0.0-preview.7.21377.19 58 09/22/2022
6.0.0-preview.6.21352.12 39 09/22/2022
6.0.0-preview.5.21301.5 51 09/21/2022
6.0.0-preview.4.21253.7 68 09/22/2022
6.0.0-preview.3.21201.4 21 09/24/2022
6.0.0-preview.2.21154.6 57 09/22/2022
6.0.0-preview.1.21102.12 60 09/22/2022
5.0.0 18 09/09/2022
5.0.0-rc.2.20475.5 36 09/21/2022
5.0.0-rc.1.20451.14 63 09/23/2022
5.0.0-preview.8.20407.11 22 09/22/2022
5.0.0-preview.7.20364.11 14 09/24/2022
5.0.0-preview.6.20305.6 55 09/21/2022
5.0.0-preview.5.20278.1 32 09/22/2022
5.0.0-preview.4.20251.6 55 09/21/2022
5.0.0-preview.3.20214.6 63 09/21/2022
5.0.0-preview.2.20160.6 20 09/23/2022
5.0.0-preview.1.20120.5 11 09/23/2022
4.7.0 68 06/27/2022
4.7.0-preview3.19551.4 27 09/24/2022
4.7.0-preview2.19523.17 33 09/24/2022
4.7.0-preview1.19504.10 25 09/23/2022
4.6.0 21 09/09/2022
4.6.0-rc1.19456.4 39 09/21/2022
4.6.0-preview9.19421.4 50 09/22/2022
4.6.0-preview9.19416.11 35 09/24/2022
4.6.0-preview8.19405.3 23 09/21/2022
4.6.0-preview7.19362.9 57 09/23/2022
4.6.0-preview6.19303.8 33 09/23/2022
4.6.0-preview6.19264.9 65 09/21/2022
4.6.0-preview5.19224.8 28 09/24/2022
4.6.0-preview4.19212.13 30 09/23/2022
4.6.0-preview3.19128.7 46 09/21/2022
4.6.0-preview.19073.11 42 09/24/2022
4.6.0-preview.18571.3 55 09/22/2022
4.5.0 65 09/10/2022
4.5.0-rc1 61 09/23/2022
4.5.0-preview2-26406-04 27 09/23/2022
4.5.0-preview1-26216-02 44 09/22/2022
4.5.0-preview1-25914-04 55 09/22/2022