Home

Visual Studio 2019 extension for building REST APIs exposing IoT Hub features

%3CLINGO-SUB%20id%3D%22lingo-sub-1028494%22%20slang%3D%22en-US%22%3EVisual%20Studio%202019%20extension%20for%20building%20REST%20APIs%20exposing%20IoT%20Hub%20features%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1028494%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20need%20to%20write%20REST%20APIs%20(.Net%20Core)%20to%20expose%20or%20complete%20IoT%20Hub%20APIs%20or%20create%20a%20facade%2C%20this%20%3CA%20title%3D%22Visual%20Studio%202019%20IoT%20Hub%20REST%20API%20Extension%22%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3DJonMikelInza.IoTHubDotNetCoreRESTAPITemplate%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eextension%3C%2FA%3E%20will%20help%20you%20to%20save%20a%20few%20minutes.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F158595iDF5F1CA4BC46461E%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_0.png%22%20title%3D%22clipboard_image_0.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20creates%20a%20ready%20to%20use%20solution%20in%20a%20few%20seconds%20and%20allows%20you%20to%20focus%20on%20important%20code%20(business%20logic%2C%20etc).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20created%20API%20includes%20other%20features%20like%3A%3C%2FP%3E%3CP%3E%26nbsp%3B-%20API%20versioning%3C%2FP%3E%3CP%3E%26nbsp%3B-%20Automatic%20OpenAPI%20generation%20(versioned%20according%20to%20API%20versions)%3C%2FP%3E%3CP%3E%26nbsp%3B-%20separated%20layers%3C%2FP%3E%3CP%3E%26nbsp%3B-%20minimalistic%20solution%20with%20required%20dependencies%20only%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20only%20thing%20you%20need%20to%20do%20is%20to%20set%20the%20IoT%20Hub%20connection%20in%20the%20configuration%20file%20(appsettings.json).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMore%20details%20%3CA%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3DJonMikelInza.IoTHubDotNetCoreRESTAPITemplate%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1028494%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPI%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eextension%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIoT%20Hub%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EREST%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EVisual%20Studio%202019%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
jonmikeli
Contributor

Hi all,

 

If you need to write REST APIs (.Net Core) to expose or complete IoT Hub APIs or create a facade, this extension will help you to save a few minutes.

 

clipboard_image_0.png

 

It creates a ready to use solution in a few seconds and allows you to focus on important code (business logic, etc).

 

The created API includes other features like:

 - API versioning

 - Automatic OpenAPI generation (versioned according to API versions)

 - separated layers

 - minimalistic solution with required dependencies only

 

The only thing you need to do is to set the IoT Hub connection in the configuration file (appsettings.json).

 

More details here.