IoTHub. REST. API. Template. CSharp
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 Core 3.1.x
The solution is based on another Visual Studio extension allowing to build layered REST API solutions (.NET Core 3.1):
How to install the package?
You only need to type the next command:
dotnet new --install JMI.DotNetCore3x.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 iotwebapi3 -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.