I would like my ASP.NET application to use AppFabric Distributed Cache instead of In memory cache.

I have a class CacheService that uses CacheFactory from EnterpriseLibrary Caching:

ICacheManager manager =  CacheFactory.GetCacheManager(CacheManagerName);

Is there a way to configure this in web.config so that some AppFabricManager will be used instead of in-memory cache?

有帮助吗?

解决方案

There is an AppFabric caching provider for Enterprise Library here.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top