开发者

Recommended usage of AppFabric in multi-environment

  • Three environments: dev, staging, and production
  • Each environment has their own database that may or may not be the same as another environment's database
  • There is开发者_C百科 only one AppFabric cache server

I need to be able to use caching, but at the same time keep the cache separate for each of the three environments.

How are some ways to do this?

Thanks!


Use named caches and cache regions to fit your different environmental needs. Make the names/regions configurable in a .config file or DB table. Putting cached data in environment-specific caches or regions gives you partitioning.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜