Sql – Extending ASP.NET data cache to be shared across web farm

asp.netcachingmemcachedsqlcachedependency

I have an ASP.NET application that makes extensive use of ASP.NET cache API for caching commonly-used data. In addition, I am using polling-based sql cache dependency to track expiration.

The drawback of the current design is that, in the web farm environment, each web server has its own data cache that is not shared across servers.

Is there a way I can simply migrate the code to share data cache across multiple servers?

I've thought of using memcached however that would not work with sql cache dependency, right?

Any other solutions?

Best Answer

Have you looked at Windows Server AppFabric (Formerly Velocity).

http://blogs.msdn.com/velocity/