Question

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?

Était-ce utile?

La solution

There is an AppFabric caching provider for Enterprise Library here.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top