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:

Create a console application
- Add the IoT Hub connectivity extension in Visual Studio:

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...