How can computation on an IotEdge module be triggered from within a .net core app?
问题 I need to trigger some computation on an IotEdge module from an Administration-Backend Application. On https://docs.microsoft.com/en-us/azure/iot-edge/module-development it says Currently, a module cannot receive cloud-to-device messages So it seems that calling direct methods seems to be the way to go. How can I implement a direct method and trigger it from within a .NET Core App? 回答1: In Main or Init Method of your IotEdge module you have to create a ModuleClient and connect it to a