我可以从开发模拟器访问Azure AppFabric缓存吗? [英] Can I access Azure AppFabric Cache from development emulator?

查看:56
本文介绍了我可以从开发模拟器访问Azure AppFabric缓存吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我从开发azure应用程序访问Azure缓存时,我正处于异常之下.

I am getting below exception when I access Azure cache from my dev azure application.

ErrorCode:SubStatus:存在暂时故障.请稍后重试.(一个或多个指定的缓存服务器是不可用,这可能是由于网络或服务器繁忙造成的.为了本地缓存群集,还请验证以下条件.确保已为此客户端授予安全权限帐户,并检查是否允许使用AppFabric缓存服务通过所有缓存主机上的防火墙.还有MaxBufferSize服务器必须大于或等于序列化对象的大小从客户端发送.)

ErrorCode:SubStatus:There is a temporary failure. Please retry later. (One or more specified cache servers are unavailable, which could be caused by busy network or servers. For on-premises cache clusters, also verify the following conditions. Ensure that security permission has been granted for this client account, and check that the AppFabric Caching Service is allowed through the firewall on all cache hosts. Also the MaxBufferSize on the server must be greater than or equal to the serialized object size sent from the client.)

是否存在只能从托管Azure应用程序访问Azure缓存的限制?

Is there any restriction that the Azure cache can only be accessed from hosted Azure application?

推荐答案

从模拟器访问AppFabric缓存应该没有问题.只是请注意,缓存仅在Windows Azure本身中.没有本地运行的模拟缓存.

You should have no issue accessing AppFabric Cache from the emulator. Just note that the cache is only in Windows Azure itself; there's no emulated cache running locally.

您是否有关于错误消息的更多详细信息?另外,您是否直接在代码中访问它?使用它作为会话状态提供者?

Do you have any further detail on the error message? Also, are you accessing it directly in code? Using it as a session state provider?

这篇关于我可以从开发模拟器访问Azure AppFabric缓存吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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