Skip Navigation

Azure Code Samples

Learn to interact with Azure services through code

37 code samples match your filter

Azure IoT Samples for Java

azure-iot-samples-java provides a set of easy-to-understand, continuously-tested samples for using Azure IoT Hub and Azure IoT Hub Device Provisioning Service using Java SDK.

azure-samples by Azure Samples,
Last updated: 12/10/2018

Developing a .NET UWP application using Azure Maps, IoT hub and Bot service

This is a sample application which shows how to build a remotely controlled map using Azure Maps and IoT hub services.

ihvo by Ihar Voitka,
Last updated: 12/6/2018

How To Extend Azure IoT Hub Twins via Azure Blob Storage

This sample demonstrates how to extend Azure IoT Hub Twins via Azure Blob Storage. Concretely, a solution can benefit from this approach if the twin properties either exceed the current limit or refer to binary content that cannot be easily represented in the twin's JSON payload.

druttka by David Ruttka,
Last updated: 11/30/2018

Custom Vision + Azure IoT Edge on a Raspberry Pi 3

Sample showing how to deploy a AI model from the Custom Vision service to a Raspberry Pi 3 device using Azure IoT Edge

ebertrams by Emmanuel Bertrand,
Last updated: 11/30/2018

IoT Hub Raspberry Pi 3 Client application

Application collects weather data from a BME280 sensor and sends it to IoT hub, also take actions according to cloud-to-device message, device management.

shizn by Xin Shi,
Last updated: 11/21/2018

Azure IoT Samples for Csharp (.NET)

azure-iot-samples-csharp provides a set of easy-to-understand, continuously-tested samples for using Azure IoT Hub and Azure IoT Hub Device Provisioning Service using C# SDK.

azure-samples by Azure Samples,
Last updated: 11/7/2018

Azure IoT Edge - How to connect PTC/Kepware's KEPServerEX

Instructions for configuring PTC Kepware KEPServerEX to connect to IoT Hub through IoT Edge

stevebus by Steve Busby,
Last updated: 10/17/2018

Processing data from IoT Hub with Azure Functions

Quick sample of how to connect IoT Hub with Azure Functions for messages processing

gk-8 by Gorka Madariaga,
Last updated: 10/1/2018

Azure IoT Samples for Node.js

azure-iot-node-samples provides a set of easy-to-understand, continuously-tested samples for using Azure IoT Hub and Azure IoT Hub Device Provisioning Service using Node.js SDK.

azure-samples by Azure Samples,
Last updated: 9/25/2018

IoT Hub SparkFun ESP8266 Thing-Dev Client application

Application collects weather data from a DHT22 sensor and sends it to IoT hub, also take actions according to cloud-to-device message.

xshi by Xin Shi,
Last updated: 8/23/2017

IoT Hub Raspberry Pi 3 Client application

Application collects weather data from a BME280 sensor and sends it to IoT hub, also take actions according to cloud-to-device message, device management.

shizn by Xin Shi,
Last updated: 12/28/2017

How to get started for using IoT Hub REST API in Python

This Python sample app is used by the getting started content to demonstrate how easy it is to create an IoTHub Instance on Azure portal, and register a new device for the IoTHub, then send a message from device (simulated device app) to cloud.

msonecode by One Code,
Last updated: 3/28/2017

Use device lifecycle and twins changes to replicate device data to an external store

Demonstrate the use of device lifecycle and twin change notifications to replicate device identities and twin properties to an external store - specifically an Azure Cosmos Graph DB

ailn by Andrey Ilnitsky,
Last updated: 10/20/2017

Azure IoT Hub ping

Simple solution to test a device's connectivity to Azure IoT Hub: Device sends a message and receives it back.

olivierbloch by Olivier Bloch,
Last updated: 4/9/2017

iot hub c intel nuc gateway getting started

The repo contains configuration files and scripts that automate the execution of gateway SDK BLE sample application.

xshi by Xin Shi,
Last updated: 8/23/2017

IoT Hub Intel Edison Client application

Application collects weather data from a Grove temperature sensor and sends it to IoT hub, also take actions according to cloud-to-device message, device management.

xshi by Xin Shi,
Last updated: 8/22/2017

Tweet vibration anomalies detected by Azure IoT services on data from an Intel Edison running Node.js

Simple IoT project using Azure IoT Hub and showing a device running node to send telemetry data and that is analyzed by Azure IoT services to detect anomalies

olivierbloch by Olivier Bloch,
Last updated: 7/12/2017