TL;DR: if you don't specify when it should expire, it never expires.
The runtime cache (and I think this goes for all of them) is a wrapper for HttpRuntime.Cache. The default timespan is nothing (=no sliding expiration), but if you don't specify anything, the default value is System.Web.Caching.Cache.NoAbsoluteExpiration, wich equals DateTime.MaxValue (=9999/12/31 23:59:59).
RuntimeCache Default lifespan
Hi, i'm not able to find what's the default timespan of ApplicationContext.Current.ApplicationCache.RuntimeCache
Anyone have this information? thanks!
TL;DR: if you don't specify when it should expire, it never expires.
The runtime cache (and I think this goes for all of them) is a wrapper for HttpRuntime.Cache. The default timespan is nothing (=no sliding expiration), but if you don't specify anything, the default value is System.Web.Caching.Cache.NoAbsoluteExpiration, wich equals DateTime.MaxValue (=9999/12/31 23:59:59).
Thanks a lot for the precision! :)
is working on a reply...