JMI.DotNetCore3x.IoTHub.REST.API.Template.CSharp
3.1.659
Accelerate the creation of .NET Core 3.x API projects exposing IoT Hub features (Azure IoTHub C# SDK) with minimal dependencies and a solution containing settings for DI/IoC, API versioning, automatic OpenAPI/Swagger documentation, separated layers, preconfigured mapping settings, preconfigured log settings, etc.
dotnet new --install JMI.DotNetCore3x.IoTHub.REST.API.Template.CSharp::3.1.659
VSIX version for Visual Studio available here.
Description
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 iotwebapi3
.
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]
VSIX version for Visual Studio available here.
Description
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 iotwebapi3
.
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]
Release Notes
'https://marketplace.visualstudio.com/items?itemName=JonMikelInza.IoTHubDotNetCore3RESTAPITemplate'
Dependencies
-
.NETCoreApp 3.1
- No dependencies.
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated |
---|---|---|
3.1.659 | 271 | 2/8/2020 |