Wednesday, March 23, 2011

System.Runtime.Caching Namespace for Caching

Today I happened to come across System.Runtime.Caching  new API in .NET Framework  4.0 this System.Runtime.Caching namespace contains types that let you implement caching in NET Framework applications. The good thing about this API is we can use this API same as  ASP.NET Out Caching functionality but without a dependency on the System.Web assembly.

When I Reference System.Runtime.Caching  assembly in my project it was showing not available then after looking project properties I found out this Namespace NOT part of the .NET 4 client profile, it is only in the full .NET 4 Framework.  then I changed my project to Full .NET Framework as shown below.

image

Next Post we will see how we can use this API to Cache.

Nandri(Thanks)

Sreenivasaragavan

1 comment:

David Buttler said...

The <a href="https://eiliana.com/blogitem/plenty-of-automation-testing-jobs-are-you-ready-to-get-the-best”>automation testing</a>market is expected to grow at 14.2% CAGR during the forecast period from 2021 to 2026. The shift for automation testing has been majorly driven by Artificial Intelligence (AI) and Machine Learning (ML). AI has been gaining importance in testing as it reduces the test lifecycle.