jr pineda
jr pineda

Reputation: 186

Sharing In-Memory Cache

Can System.Runtime.Caching.MemoryCache be accessed across different Console applications?

I've read about memcached but our team requires using only .Net libraries.

Thanks.

Upvotes: 0

Views: 1149

Answers (2)

CSharpNinja
CSharpNinja

Reputation: 1

An Answer for jr pineda question : for single server best solution would be Distributed Memory Cache which is framework-provided implementation of IDistributedCache that stores items in memory. The Distributed Memory Cache isn't an actual distributed cache. Cached items are stored by the app instance on the server where the app is running.

Upvotes: 0

Josh
Josh

Reputation: 44916

What you are looking for is AppFabric Caching.

It will allow you to treat multiple servers/computers as nodes in a caching cluster and handle automatic replication for you.

Upvotes: 1

Related Questions