Skip to content
| Marketplace
Sign in
Visual Studio>Templates>.NET 5 IoT Hub REST API Template
.NET 5 IoT Hub REST API Template

.NET 5 IoT Hub REST API Template

Jon Mikel Inza

|
4,874 installs
| (2) | Free
Visual Studio project template accelerating the creation of .NET 5 API projects to expose Microsoft Azure IoTHub features.
Download

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.

The VS solution template relies on:

  • IoTHub's features (SDK)
  • .NET 5

The solution is based on another Visual Studio extension allowing to build layered REST API solutions (.NET 5).

What does it look like?

Once the extension installed, you can use it directly from the start screen when you create a new project:

VS2019_CreateNewSolution.png

Creation Wizard - Step 1

VS2019_CreateNewSolution_Step2.png

Creation Wizard - Step 2

VS2019_CreateNewSolution_Step3.png

The extension will create a VS solution and the projects to build a REST API exposing part of the IoT Hub API.

VS2019_CreateNewSolution_Step4.png

The provided settings through the wizard can be updated at any time in the configuration file (appsettings.json).

The exposed REST API implements the required mechanisms to take into account automatic:

  • versioning
  • OpenAPI generation
  • include XML comments in the generated OpenAPI file (former Swagger)

.NET CLI

In addition to this Visual Studio version, you can find here the .NET CLI version.

Release notes

v5.0.1013

  • end of preview and first .NET 5 version

v5.0.998-preview

  • code comments (XML Comments type) at DataContract level are included in the Swagger/OpenAPI generation.

v5.0.989-preview

  • solution creation additional UI (Wizard) to provide common settings
  • additional parameters

v5.0.939-preview

  • preview version of the extension (upgrade from the already published extension under .NET Core 3.1)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft