no "extended format" expiration policy in System.Runtime.Caching

Topics: Caching Application Block
Jun 8, 2010 at 1:42 AM

Hi,

The documentation for Enterprise Library 5.0 states that:

"Caching Application Block functionality is built into .NET Framework 4.0; therefore the Enterprise Library Caching Application Block will be deprecated in releases after 5.0. You should consider using the .NET 4.0 System.Runtime.Caching classes instead of the Caching Application Block in future development."

However, System.Runtime.Caching lacks "extended format" - there are only SlidingExpiration and AbsoluteExpiration properties of a CacheItemPolicy class.

Are there any ideas how to fill the gap?

Thanks,
Dmitry

Jun 8, 2010 at 12:36 PM

Hi, 

As of now we still don't have any idea of anything that will suffice the extended format using the System.Runtime.Caching though we are currently looking for workarounds. We'll keep you posted for any updates.  

Gino Terrado
Global Technology and Solutions
Avanade, Inc.
entlib.support@avanade.com