IoTHub. REST. API. Template. CSharp
See the version list below for details.
This extension helps to build a Microsoft Azure IoT Hub REST facade in a few seconds. The created solution is ready to be used (it only requires setting the Microsoft Azure IoT Hub connection string in the appsettings.json configuration file).
From the architectural perspective, this type of template offers the possibility of creating a facade or a microservice and adding different levels of logic (security, business, etc) to the technical IoT device management API (C2D and D2C) hosted in Microsoft Azure IoT Hub.
The VS solution template relies on:
- IoTHub's features (Azure IoT Hub C# SDK)
- .NET 5
How to install the package?
You only need to type the next command:
dotnet new --install JMI.DotNet5.IoTHub.REST.API.Template.CSharp::[version]
How the package works?
Check if the new template has been installed properly:
dotnet new --list
You should see a new template called
To create a new solution based on this template, you have to type the command below:
dotnet new iothubwebapi5 -I [IoT Hub connection string] -n [solution-name]
- No dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.