Sharing cache between applications (asp.net) on the same physical machine

We have several virtual applications inside one main (root) application.

How to split the cache between this virtual application and the main application if they are (and always will be) on the same physical machine?

Cache I, assuming System.Runtime.Caching or System.Web.Caching. Hope I don't need to configure AppFabric caching for this ...

+4
source share
3 answers

Unable to execute. Several asp.net applications live in their own application, and the application is controlled by IIS and can cycle at any time. This means that any caching should use network scripts (remote relocation, etc.), and the cache is better suited outside the ASP.NET control (system service).

+2
source

Memcached is a free, open source cache that runs as a Windows service. You can easily cross-cache applications by simply defining a key that both applications will use to search memcached objects.

+3
source

While others mentioned the built-in ASP.NET cache (System.Web.Caching), note that .NET 4.0 is a completely new caching framework designed to work outside the System.Web.Caching namespace:

System.Runtime.Caching

http://msdn.microsoft.com/en-us/library/system.runtime.caching(VS.100).aspx

ASP.Net Cache Sharing

+2
source

All Articles