Pergunta

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?

Foi útil?

Solução

There is an AppFabric caching provider for Enterprise Library here.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top