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.
If you encounter an issue related to these samples please submit a new issue. For issues related to the IoT Edge or the packages please go to the IoT Edge repo and submit an issue.
- Install latest Git Client.
- Install latest Node LTS.
git clone https://github.com/Azure-Samples/iot-edge-samples.git
cd azure-iot-edge-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/iot-edge-samples.git
cd iot-edge-samples/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/iot-edge-samples.git
cd iot-edge-samples/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.