August 2017
Intermediate to advanced
254 pages
6h 10m
English
In this topic, we first created a C# based console simulator, which will be act as an IoT device and sending a message to the cloud. The ingested telemetry data from the simulated IoT device is a JSON data sample being sent to the IoT Hub.
The IoT device simulator is created using a connection string; we can get this from the Azure portal, or we can form this string using the get device method we looked at in Chapter 2, Introducing Device Management.
Once the device has established the connection successfully, we assume it is measuring some wind speed and temperature values. In this sample application, I have considered some dummy data for the purpose of our understanding.
Similarly, you can make use of message routing feature ...