开发者

Where is the default outputcache class?

The default outputcache provider is specified as "AspNetInternalProvider" (http://msdn.micros开发者_如何学Pythonoft.com/en-us/library/ms228124.aspx). But where does this class exist? I can't find it and I would like to inspect some of its code.


I THINK I may have found which class they use under the hood: System.Runtime.Caching.MemoryCache (http://msdn.microsoft.com/en-us/library/system.runtime.caching.memorycache.aspx)


In .NET 4, the default cache implementation is System.Web.Caching.CacheInternal. Looking in reflector, that class has no dependencies on System.Runtime.Caching and therefore there are no dependencies on System.Runtime.Caching.MemoryCache.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜