I am revising for exam 70-562 on ASP.NET application development and the last chapter on caching has brought up a few questions:
- What is the difference between Response.AddCacheDependency(...) and Response.AddCacheItemDependency(...)? The former uses a CacheDependency object and the latter is an item in the cache, but a CacheDependency object itself references an item in the cache.