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 of this Azure account, which you can select: