我正在通过运行AppFabric SDK示例(WindowsAzurePlatformAppFabricSDKSamples_V1.0-CS)中的Echo服务示例来测试公司网络中的Service Bus AppFabric。但是,代码似乎挂在host.Open()上,并且没有抛出异常。
我让程序运行了几个小时,但它仍然挂在那条线上,没有例外。
有没有人对此有所暗示?
感谢。
答案 0 :(得分:1)
今天也一直在努力解决这个问题。您可以在配置中添加以下内容:
<system.net>
<defaultProxy useDefaultCredentials="true">
<proxy proxyaddress="http://xyz:8080" usesystemdefault="True"/>
<module type="ServiceBusHost.CustomProxy, ServiceBusHost"/>
</defaultProxy>
</system.net>
不幸的是,这并不适用于所有情况。