将 .net Micro 框架控制台应用程序模拟器连接到 Azure 服务总线

Connecting .net Micro framework console application emulator to Azure Service Bus

我是 NETMF 的新手,正在尝试构建一个控制台应用程序,该应用程序将消息发送到 windows Azure 服务总线上的队列。我也在使用 AMQP 协议进行连接。但是每次我都低于错误。

Exception thrown: 'Amqp.AmqpException' in Amqp.NetMF.dll

An unhandled exception of type 'Amqp.AmqpException' occurred in Amqp.NetMF.dll

Additional information: The connection was inactive for more than the allowed 60000 milliseconds and is closed by container 'LinkTracker'. TrackingId:aeed7786111b4e28b08d9f07292843e0_G19, SystemTracker:gateway6, Timestamp:1/18/2017 7:23:15 AM

现在,我怀疑这是因为 Visual Studio 附带的示例模拟器无法访问我的笔记本电脑的互联网。

我还读到我需要一个 Netduino 开发板。是真的吗?

当我在笔记本电脑上调试 .net 微框架控制台应用程序时,有什么方法可以连接到 Azure 服务总线。

提前致谢。

当您打开连接但在 60 秒内未打开任何 link 时返回此错误。您的应用程序已连接到服务总线服务。它没有创建 link 可能是因为您正在调试应用程序。

使用 SSL 连接的示例模拟器中存在问题。该问题已解决,但上次我检查它不在 4.4 版本中。您可以在此处找到更多详细信息。 https://github.com/NETMF/netmf-interpreter/issues/330

https://github.com/NETMF/netmf-interpreter/pull/342