System.Runtime.Caching 10.0.7

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.Data.SqlClient
Provides the data provider for SQL Server. These classes provide access to versions of SQL Server 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.
898
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.
119
Microsoft.Data.SqlClient
Provides the data provider for SQL Server. These classes provide access to versions of SQL Server 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.
50
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.
48
Umbraco.Cms.Core
Contains the core assembly needed to run Umbraco CMS.
48
Umbraco.Cms.Core
Contains the core assembly needed to run Umbraco CMS.
47
Umbraco.Cms.Core
Contains the core assembly needed to run Umbraco CMS.
46
Umbraco.Cms.Core
Contains the core assembly needed to run Umbraco CMS.
42
Umbraco.Cms.Core
Contains the core assembly needed to run Umbraco CMS.
41
Umbraco.Cms.Core
Contains the core assembly needed to run Umbraco CMS.
40
Umbraco.Cms.Core
Contains the core assembly needed to run Umbraco Cms. This package only contains the assembly, and can be used for package development. Use the template in the Umbraco.Templates package to setup Umbraco
39
Umbraco.Cms.Core
Contains the core assembly needed to run Umbraco CMS.
39
Microsoft.Data.SqlClient
Provides the data provider for SQL Server. These classes provide access to versions of SQL Server 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.
38
Umbraco.Cms.Core
Contains the core assembly needed to run Umbraco Cms. This package only contains the assembly, and can be used for package development. Use the template in the Umbraco.Templates package to setup Umbraco
38
Umbraco.Cms.Core
Contains the core assembly needed to run Umbraco CMS.
38
Umbraco.Cms.Core
Contains the core assembly needed to run Umbraco Cms. This package only contains the assembly, and can be used for package development. Use the template in the Umbraco.Templates package to setup Umbraco
37

Version Downloads Last updated
11.0.0 0 11/10/2026
11.0.0-rc.3.26522.148 0 10/25/2026
11.0.0-rc.2.26504.105 6 10/14/2026
11.0.0-rc.1.26425.128 9 09/13/2026
11.0.0-preview.7.26381.103 11 08/12/2026
11.0.0-preview.6.26359.118 8 07/15/2026
11.0.0-preview.5.26302.115 37 06/14/2026
11.0.0-preview.4.26230.115 9 05/14/2026
11.0.0-preview.3.26207.106 27 04/20/2026
11.0.0-preview.2.26159.112 31 03/20/2026
11.0.0-preview.1.26104.118 38 04/16/2026
10.0.15 1 11/20/2026
10.0.14 3 11/04/2026
10.0.13 3 10/14/2026
10.0.12 6 09/14/2026
10.0.11 12 08/11/2026
10.0.10 9 07/16/2026
10.0.9 12 06/24/2026
10.0.8 13 05/14/2026
10.0.7 38 06/24/2026
10.0.6 9 04/20/2026
10.0.5 28 03/20/2026
10.0.4 28 03/20/2026
10.0.3 20 02/20/2026
10.0.2 17 01/29/2026
10.0.1 42 12/24/2025
10.0.0 33 11/24/2025
10.0.0-rc.2.25502.107 23 10/15/2025
10.0.0-rc.1.25451.107 35 09/10/2025
10.0.0-preview.7.25380.108 30 08/20/2025
10.0.0-preview.6.25358.103 34 07/19/2025
10.0.0-preview.5.25277.114 25 06/20/2025
10.0.0-preview.4.25258.110 30 06/24/2026
10.0.0-preview.3.25171.5 10 06/27/2026
10.0.0-preview.2.25163.2 36 06/27/2026
10.0.0-preview.1.25080.5 22 03/15/2025
9.0.23 0 11/10/2026
9.0.22 1 11/18/2026
9.0.21 5 10/14/2026
9.0.20 7 09/14/2026
9.0.19 5 08/12/2026
9.0.18 7 07/15/2026
9.0.17 30 06/24/2026
9.0.16 7 06/24/2026
9.0.15 18 06/24/2026
9.0.14 16 06/24/2026
9.0.13 24 06/24/2026
9.0.12 33 06/24/2026
9.0.11 29 07/09/2026
9.0.10 28 06/24/2026
9.0.9 30 06/26/2026
9.0.8 30 06/24/2026
9.0.7 27 06/26/2026
9.0.6 7 06/26/2026
9.0.5 16 09/21/2025
9.0.4 13 06/20/2025
9.0.3 29 06/26/2026
9.0.2 18 05/10/2025
9.0.1 36 02/01/2025
9.0.0 36 02/01/2025
9.0.0-rc.2.24473.5 28 11/09/2024
9.0.0-rc.1.24431.7 31 09/16/2024
9.0.0-preview.7.24405.7 12 06/29/2026
9.0.0-preview.6.24327.7 16 07/16/2024
9.0.0-preview.5.24306.7 12 06/27/2024
9.0.0-preview.4.24266.19 34 07/14/2024
9.0.0-preview.3.24172.9 32 06/24/2026
9.0.0-preview.2.24128.5 23 06/24/2026
9.0.0-preview.1.24080.9 32 06/29/2026
8.0.1 12 06/26/2026
8.0.0 117 03/13/2024
8.0.0-rc.2.23479.6 38 12/21/2024
8.0.0-rc.1.23419.4 39 03/30/2024
8.0.0-preview.7.23375.6 24 01/28/2025
8.0.0-preview.6.23329.7 33 06/27/2026
8.0.0-preview.5.23280.8 24 06/15/2024
8.0.0-preview.4.23259.5 21 01/03/2024
8.0.0-preview.3.23174.8 35 07/02/2026
8.0.0-preview.2.23128.3 33 02/16/2025
8.0.0-preview.1.23110.8 15 05/22/2024
7.0.0 22 06/26/2026
7.0.0-rc.2.22472.3 28 06/12/2025
7.0.0-rc.1.22426.10 25 05/10/2025
7.0.0-preview.7.22375.6 29 09/04/2025
7.0.0-preview.6.22324.4 34 04/26/2025
7.0.0-preview.5.22301.12 11 04/30/2025
7.0.0-preview.4.22229.4 28 06/24/2026
7.0.0-preview.3.22175.4 12 09/04/2025
7.0.0-preview.2.22152.2 43 12/12/2023
7.0.0-preview.1.22076.8 8 01/14/2024
6.0.2-mauipre.1.22102.15 41 08/28/2024
6.0.1 15 06/26/2026
6.0.0 66 01/08/2024
6.0.0-rc.2.21480.5 39 12/22/2023
6.0.0-rc.1.21451.13 31 10/10/2024
6.0.0-preview.7.21377.19 22 01/22/2024
6.0.0-preview.6.21352.12 38 11/03/2024
6.0.0-preview.5.21301.5 12 07/13/2026
6.0.0-preview.4.21253.7 25 06/30/2026
6.0.0-preview.3.21201.4 33 07/14/2026
6.0.0-preview.2.21154.6 34 07/03/2026
6.0.0-preview.1.21102.12 23 07/04/2026
5.0.0 56 10/06/2021
5.0.0-rc.2.20475.5 29 05/30/2024
5.0.0-rc.1.20451.14 30 06/29/2026
5.0.0-preview.8.20407.11 25 02/28/2025
5.0.0-preview.7.20364.11 33 09/11/2024
5.0.0-preview.6.20305.6 22 10/06/2024
5.0.0-preview.5.20278.1 7 07/04/2026
5.0.0-preview.4.20251.6 21 07/05/2026
5.0.0-preview.3.20214.6 11 02/27/2025
5.0.0-preview.2.20160.6 33 06/29/2026
5.0.0-preview.1.20120.5 18 06/24/2026
4.7.0 700 02/16/2021
4.7.0-preview3.19551.4 30 05/15/2025
4.7.0-preview2.19523.17 30 06/03/2025
4.7.0-preview1.19504.10 24 11/10/2025
4.6.0 26 03/17/2024
4.6.0-rc1.19456.4 30 05/31/2025
4.6.0-preview9.19421.4 20 06/24/2026
4.6.0-preview9.19416.11 31 11/21/2025
4.6.0-preview8.19405.3 28 03/21/2025
4.6.0-preview7.19362.9 21 07/05/2026
4.6.0-preview6.19303.8 37 05/08/2024
4.6.0-preview6.19264.9 39 02/16/2025
4.6.0-preview5.19224.8 21 04/06/2025
4.6.0-preview4.19212.13 28 02/12/2025
4.6.0-preview3.19128.7 21 12/28/2023
4.6.0-preview.19073.11 20 11/08/2024
4.6.0-preview.18571.3 38 01/27/2024
4.5.0 32 02/24/2021
4.5.0-rc1 13 12/29/2023
4.5.0-preview2-26406-04 32 05/05/2025
4.5.0-preview1-26216-02 11 12/27/2024
4.5.0-preview1-25914-04 17 07/11/2026