Changes

Jump to: navigation, search
no edit summary
==Introduction==
The goal of this document is to show how to deploy modules to a Azure IoT Edge-enabled SBCX [[:Category:SBC-AXEL|SBC Axel board]]. It is recalled that, [https://docs.microsoft.com/en-us/azure/marketplace/iot-edge-module according to Microsoft documentation], modules are
''the smallest computation units managed by IoT Edge, and can contain Microsoft services (such as Azure Stream Analytics), 3rd-party services or your own solution-specific code''.
There are different methods to deploy such modules to the IoT Edge-enabled devices. This Technical Note (TN for short) will describe how to use [https://code.visualstudio.com/ Visual Studio Code (VSC)] to carry out such an operation on SBCX single-board computer.
This Technical Note (TN for short) article is based on this previous TN: [[SBCX-TN-002:_Running_Microsoft_Azure_IoT_Edge_runtime|''SBCX-TN-002: Running Microsoft Azure IoT Edge runtime'']]. As such, '''SBCX-TN-002 is a prerequisite to complete this TN'''.
==Setting up VSC==
To set up Visual Studio Code, the [https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-tools&ssr=false#overview ''Azure IoT Tools extension package''] has to be installed. After installing this package, the ''Welcome to Azure IoT Tools'' tab should open automatically:  [[File:SBCX-VSC-Azure-IoT-Tools1.png|thumb|center|600px|''Welcome to Azure IoT Tools'' tab]]  This tab is extremely convenient to establish the connection between VSC and the IoT hub we created previously on Azure platform. After installing the ''Azure IoT Tools extension package'', VSC suggests to install the ''iotedgehubdev'' as well. Although it is not necessary, this packake may be useful for debugging tasks. For more details, please tefer to [https://github.com/Azure/iotedgehubdev this page]. 
==Deploying a simple module==
4,650
edits

Navigation menu