I set the cache provider below, but the Add method never called... Only several Get calls I receive...
Any idea why?
Any idea why?
Copy Code
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