How can I send messages from wpf to iot device edge module

Reem Fatahalla 26 Reputation points
2020-11-11T20:48:43.48+00:00

I am new to IOT Edge, still going through the tutorial.
I would like to know if I can make a wpf application send/receive messages with IOT Edge module? and how

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
567 questions
{count} votes

Accepted answer
  1. Sander van de Velde | MVP 32,011 Reputation points MVP
    2020-11-13T16:38:40.86+00:00

    As @António Sérgio Azevedo explained, there are two options:

    1 You manage to host your WPF application in a docker container

    In that case, you need to attach to the routing system inside the docker container using the Azure SDK. Take a look at this example of a similar approach to connect a Blazor app to the IoT Edge routing.

    2 You run a WPF somewhere on the same network and try to reach the IoT Edge to send data to the cloud

    In this case, something on the edge needs to expose an endpoint so the incoming messages can be routed towards the cloud. In the past, I experimented with a nodejs module which exposed a SocketIO server.

    3 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.