Reputation: 170
Hi i already have cloud to device communication through Direct Methods. Now I want to setup Device to Backend Communication through Iot Hub , I have read we can do this with device to cloud communication but is there any way we can route these messages to backend app that is my web api.
Upvotes: 0
Views: 340
Reputation: 8235
In addition to David's answer, the following screen snippet shows forwarding a telemetry data to the Web App using the Azure Event Grid (Push-Push Pattern) with different subscribers such as the Hybrid Connection, WeebHook and EventGridTrigger function with a SignalR Service output binding:
Upvotes: 1
Reputation: 88852
is there any way we can route these messages to backend app that is my web api.
Your app can consume the messages directly using the EventHub APIs, or create an Azure Function with an Event Hub Binding.
Upvotes: 1