Can I access Azure AppFabric Cache from development emulator?

对着背影说爱祢 提交于 2019-12-24 15:24:45

问题


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

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.)

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


回答1:


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?




回答2:


Yes we can access Azure AppFabric cache from emulators. Just want to configure correctly and there should be no firewall blocking



来源:https://stackoverflow.com/questions/8181767/can-i-access-azure-appfabric-cache-from-development-emulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!