Search code examples
asp.netcachingappfabricappfabric-cache

AppFabric Distributed Cache Configuration


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?


Solution

  • There is an AppFabric caching provider for Enterprise Library here.