Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Samples of how to interact with Azure Digital Twins service.

License

Notifications You must be signed in to change notification settings

Azure-Samples/digital-twins-samples-csharp

Repository files navigation

page_type languages products name description
sample
csharp
azure
azure-digital-twins
Digital Twins Samples (ARCHIVED)
For the older version of Azure Digital Twins: This repo contains .NET Core samples that demonstrate how to use the Azure Digital Twins platform. Each folder contains a separate .NET Core app.

Digital Twins Samples (ARCHIVED)

License: MIT


NOTE (July 2020): A new version of the Azure Digital Twins service has been released, with new features and new implementation details. This sample repository corresponds to the previous set of documentation, which has now been archived. It no longer reflects the current Azure Digital Twins best practices and is no longer being maintained.

To view the latest information for the new service, visit the active Azure Digital Twins Documentation and its samples.


This repo contains .NET Core samples that demonstrate how to use the Azure Digital Twins platform. Each folder contains a separate .NET Core app.

See the README.md in each sub-folder for specific details about each app:

Get Started

  1. Install dotnet core.
  2. Clone the repo:
git clone https://github.com/Azure-Samples/digital-twins-samples-csharp.git
cd digital-twins-samples-csharp

The repo contains several standalone projects:

  • The Occupancy sample is suggested as a first example to gain familiarity with Digital Twins.
  • The Device Connectivity sample demonstrates how to connect a device to Digital Twins and submit sensory data.

For corresponding documentation, please see the project README's above.

Visual Studio Code

A workspace file containing all the apps is included for Visual Studio Code users.

Alternatively, each app can be opened individually.

Licensing and Use

Azure Digital Twins Samples are MIT Licensed.

See also