在同一物理机上的应用程序(asp.net)之间的共享高速缓存 [英] Sharing cache between apps (asp.net) on the same physical machine

查看:123
本文介绍了在同一物理机上的应用程序(asp.net)之间的共享高速缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们里面有一个主(根)申请多个虚拟应用程序。

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

如何这个虚拟应用程序和主应用程序之间共享缓存当它们存在于(而且将永远是)在同一物理机上?

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

通过缓存我假设System.Runtime.Caching或System.Web.Caching。希望我不需要安装AppFabric缓存为这个...

By Cache i assuming System.Runtime.Caching or System.Web.Caching. Hope that i do not need to setup AppFabric Caching for this...

推荐答案

不能完成。多asp.net应用程序活在自己的应用程序域,并在AppDomain是IIS控制,并可以循环在任何时间。这意味着任何缓存必须使用网络方案(远程等)和高速缓存更可以在ASP.NET控件(系统服务)之外的适合。

Can not be done. Multiple asp.net apps live in their own appdomain, and the appdomain is IIS controlled and may cycle at any time. This means any caching HAS to use networking scenarios (remoting etc.) and the cache better be suited outside the ASP.NET control (system service).

这篇关于在同一物理机上的应用程序(asp.net)之间的共享高速缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆