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

.NET Core 2.x IoT Hub REST API Template

Jon Mikel Inza

|
7,605 installs
| (1) | Free
Visual Studio project template accelerating the creation of .NET Core 2.1.x API projects to expose Microsoft Azure IoTHub features.
Download

.NET Core 3.1

.NET Core 3.1 upgrade has been published here.

.NET Core 2.x

Description

This extension helps to build a Microsoft Azure IoT Hub REST facade in a few seconds. The created solution is ready to use (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 (C2D and D2C) residing in Microsoft Azure IoT Hub.

The VS solution template relies on:

  • IoTHub's features
  • .NET Core 2.1.x

The solution takes into account points like:

  • DI according to .NET Core 2.1.x practices (without external dependencies)
  • exception handling settings according to .NET Core 2.1.x practices (exception and validation filters are not required anymore)
  • AppSettings (.NET Core 2.1.x way)
  • mapping settings (based on Automapper)
  • OpenAPI basic configuration (can be enabled/disabled by configuration)
  • API Versioning (based on URL routes)
  • OpenAPI versioning
  • XML Comments included in Swagger (debug)

Feel free to send feedback and share improvements.

Release notes

v0.2.605.1 -Labeling updates

v0.2.568.1 -Template Id issue fix -New delivery and versioning system

v0.2.1

  • VS project template tags updates for improved Visual Studio 2019 experience

v0.2

  • Deep upgrade (this template follows now the same logic than this other extension)
  • Visual Studio 2019 support
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft