This tutorial shows how to setup your IoT Edge module development environment (Windows/Ubuntu Linux), write a module, customize and initialize the IoT Edge instance. It includes samples for JavaScript, Java, and .NET modules.
- Install latest Git Client.
- Install latest Node LTS.
git clone https://github.com/Azure-Samples/azure-iot-gateway-samples.git
cd azure-iot-gateway-samples/js
npm install
to install pre-built core runtime of IoT Edge.npm run local
to start the IoT Edge with pre-defined modules (sensor and printer).
- Install latest Git Client.
- Install latest x64 version of JRE.
- Install latest Maven.
git clone https://github.com/Azure-Samples/azure-iot-gateway-samples.git
cd java
mvn package
to build your module with all dependencies.mvn exec:exec
to start the IoT Edge with pre-defined module.
- Install latest Git Client.
- Install Visual Studio 2015 with Update 3.
git clone https://github.com/Azure-Samples/azure-iot-gateway-samples.git
cd dotnet
- Open
\DotnetModuleSample\DotnetModuleSample.sln
with and build the solution. - Build the DotnetModuleSample project (Ctrl + Shift + B).
- Click the
Start
button in the Visual Studio 2015 IDE or press the F5 key.