Create a IoT Edge Device and send a deployment using REST

Update: from preview to GA there are two main changes for this article: 1) new api version: 2018-06-30 2) the applyConfigurationContent is now requiring a modulesContent object (previously was moduleContent) In this article you will find some example code snippets to create a new Azure IoT Edge Device programmatically and send it a deployment.json (via REST API) Authenticate the HTTP Requests: Each REST request to the IoT Hub endpoint must be authenticated; in order to do that you need to retrieve a SAS Token....

April 6, 2018 · 3 min · Daniele Antonio Maggio

Use HTTPS within an ASP.NET container

If you are using IIS as a Web Server to host your ASP.NET Website, you are doing it inside a Windows Server Core based container and you are reading this article, maybe you want to use HTTPS to allow secure connections to it. Use HTTPS within an ASP.NET container Assuming you are using the microsoft/aspnet base image and you have your pfx ready, in order to achieve your goal, you have to follow three simple steps:...

February 6, 2018 · 2 min · Daniele Antonio Maggio

UDP + IoT Hub? Let me introduce you Azure IoT Edge

If you are reading this article, you already know that there is no native support for UDP Protocol when using Azure IoT Hub. In this article I will explain you how to get your custom UDP endpoint. UPDATE 26/Jul/2018: I updated the GitHub repository for IoT Edge GA: https://github.com/danigian/iot-edge-udp You should analyze the repo for a more updated example than the one explained in this post UPDATE 02/Jan/2018: I open sourced a sample module on a GitHub repository: https://github....

December 19, 2017 · 4 min · Daniele Antonio Maggio