2016年11月10日

如何为Azure Service Bus和Azure IoT Hub生成SharedAccessSignature

摘要: 很多服务在做验证的时候都会用到SharedAccessSignature,例如Azure Service Bus, Azure IoT Hub等。今天趟了回大坑,这里分享出来,希望对你有所帮助。 SharedAccessSignature的格式如下: 因此,凭直觉针对不同的服务只要正确指定polic 阅读全文

posted @ 2016-11-10 20:38 周星的Blog 阅读(884) 评论(0) 推荐(2) 编辑

2016年11月9日

Azure IoT Hub REST API 实践

摘要: Azure IoT Hub提供了一系列的REST API 接口用来对设备,服务,以及资源进行管理。尽管在实际应用中我们通常会选择采用封装的SDK,本文选择了几个REST API 接口进行实践,希望需要对REST API 直接进行操作的小伙伴有所帮助。由于帮客户处理问题时,采用了英文回复。我这边就不再 阅读全文

posted @ 2016-11-09 15:25 周星的Blog 阅读(2355) 评论(1) 推荐(1) 编辑

Azure IoT Hub入门 - 接口介绍

摘要: Azure IoT Hub作为多租户服务,对不同的用户暴露了不同的接口(如下图所示)。 下面对各类接口进行详细解释: 设备接口: Send device-to-cloud messages: 通过该接口发送都d2c消息。 Receive cloud-device messages: 接受c2d消息。 阅读全文

posted @ 2016-11-09 14:51 周星的Blog 阅读(2614) 评论(0) 推荐(0) 编辑

Azure IoT Hub 入门 - 权限管理

摘要: 最初开始接触Azure IoT Hub的时候,被各种connection string和endpoint弄的眼花缭乱。本入门系列旨在将Azure IoT Hub 权限管理机制以及各个接口(endpoint)的用途解释清楚。 首先抛出一个典型的IoT解决方案的架构,以让读者对IoT有个大概的认识。该架 阅读全文

posted @ 2016-11-09 13:57 周星的Blog 阅读(4501) 评论(0) 推荐(1) 编辑

2016年11月7日

How to deploy JAVA Application on Azure Service Fabric

摘要: At this moment, Azure Service Fabric does not support JAVA application natively (but it's on the support roadmap). However, we can host the JAVA appli 阅读全文

posted @ 2016-11-07 20:33 周星的Blog 阅读(974) 评论(0) 推荐(0) 编辑

JAVA FAQ

摘要: java.exe v.s. javaw.exe"The javaw.exe command is identical to java.exe, except that with javaw.exe there is no associated console window. ... Use java 阅读全文

posted @ 2016-11-07 15:11 周星的Blog 阅读(151) 评论(0) 推荐(0) 编辑

Use TCPView to resolve "Address already in use: bind" issue

摘要: When we run a runnable JAR file multiple times from the console, it's common that we would run into the following exception error: The exception is ob 阅读全文

posted @ 2016-11-07 15:04 周星的Blog 阅读(240) 评论(0) 推荐(0) 编辑

Develop Endpoint for China Azure

摘要: 经常碰到客户给我们上ticket,表示他们无法链接China Azure(Mooncake)的service endpoint。在这类问题中,我们看到最多的报错是:"Unresolved DNS name"。 造成这类错误的原因是,我们在创建client的时候,需要显式的指定链接service的en 阅读全文

posted @ 2016-11-07 13:12 周星的Blog 阅读(509) 评论(0) 推荐(0) 编辑

Check if Password Sync is enabled in AAD

摘要: Sometimes you will wonder why you cannot logon with the identities synced to Azure AD via AAD Connect.The most possible cause is the accounts' passwor 阅读全文

posted @ 2016-11-07 11:12 周星的Blog 阅读(224) 评论(0) 推荐(0) 编辑

盗链引起的Azure Traiffic Manager Endpoint 配置问题

摘要: 今天碰到一个有意思的问题:添加“www.baidu.com” 为Azure Traffic Manager(例如:test.trafficmanager.cn)的一个Endpoint,尝试访问test.trafficmanager.cn 服务器返回504。 Troubleshooting: 在Azu 阅读全文

posted @ 2016-11-07 11:09 周星的Blog 阅读(455) 评论(0) 推荐(0) 编辑

导航