Quantcast
Channel: CodeProject Latest postings for ASP.NET
Viewing all articles
Browse latest Browse all 3938

OutputCacheProvider...

$
0
0
I set the cache provider below, but the Add method never called... Only several Get calls I receive...
Any idea why?

publicclass MyCacheProvider : OutputCacheProvider
{publicoverrideobject Add(string key, object entry, DateTime utcExpiry)
  {return entry;
  }publicoverrideobject Get(string key)
  {returnnull;
  }publicoverridevoid Remove(string key)
  {
  }publicoverridevoid Set(string key, object entry, DateTime utcExpiry)
  {
  }
}

"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012

Viewing all articles
Browse latest Browse all 3938

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>