This post is from Premier Developer consultant Mark Taylor.
This article assumes a basic understanding of the functionality of Azure IoT Edge. If you don’t have this, start with the official documentation: https://azure.microsoft.com/en-us/campaigns/iot-edge/.
The current Azure IoT Edge samples for .Net are great, but they do not (as of the time of this writing) demonstrate how to hook up and send data to IoTHub. Here we will set out step-by-step instructions for doing this using the existing samples as a starting point. The instructions below show how to send messages to IoTHub using Azure IoT Edge with custom .Net modules. They also show how you can receive cloud to device messages from IoT Hub in your .Net module, so you can implement commands or management operations for your device.
Read the rest on Mark’s blog here.