This sample application is focused on device registry operations and how they work. We will create a console application as our first IoT solution and look at the various device management techniques.
Device registry operations
Getting ready
Let's create a console application to start with IoT:
- Create a new project in Visual Studio:
![](https://static.packt-cdn.com/products/9781787283008/graphics/assets/b46544c5-94f5-4b23-a8ab-e5af029d5660.png)
Create a console application
- Add the IoT Hub connectivity extension in Visual Studio:
![](https://static.packt-cdn.com/products/9781787283008/graphics/assets/2cac10e2-f841-4959-bf9a-9cbc76df86c0.png)
Add the extension for IoT Hub connectivity
- Now, right-click on the Solution in Visual Studio, navigate to Add, and select Connected Services.
- Select Azure IoT Hub and click on Add.
- Now, select the Azure subscription from the dropdown, followed by which you will get a list of the IoT Hub service parts...