Skip to content

JSeb225/iot-edge-samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure IoT Edge Module Samples

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.


How to run JavaScript modules (Windows 10/Ubuntu Linux 14+)

Prerequisites

  1. Install latest Git Client.
  2. Install latest Node LTS.

Quick Start

  1. git clone https://github.com/Azure-Samples/azure-iot-gateway-samples.git
  2. cd azure-iot-gateway-samples/js
  3. npm install to install pre-built core runtime of IoT Edge.
  4. npm run local to start the IoT Edge with pre-defined modules (sensor and printer).

How to run Java modules (Windows 10/Ubuntu Linux 14+)

Prerequisites

  1. Install latest Git Client.
  2. Install latest x64 version of JRE.
  3. Install latest Maven.

Quick Start

  1. git clone https://github.com/Azure-Samples/azure-iot-gateway-samples.git
  2. cd java
  3. mvn package to build your module with all dependencies.
  4. mvn exec:exec to start the IoT Edge with pre-defined module.

How to run .NET modules(Windows 10)

Prerequisites

  1. Install latest Git Client.
  2. Install Visual Studio 2015 with Update 3.

Quick Start

  1. git clone https://github.com/Azure-Samples/azure-iot-gateway-samples.git
  2. cd dotnet
  3. Open \DotnetModuleSample\DotnetModuleSample.sln with and build the solution.
  4. Build the DotnetModuleSample project (Ctrl + Shift + B).
  5. Click the Start button in the Visual Studio 2015 IDE or press the F5 key.

About

Sample modules written in different languages running on Azure IoT Edge.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 40.9%
  • JavaScript 37.2%
  • Java 21.9%