{"id":36653,"date":"2017-06-12T09:56:53","date_gmt":"2017-06-12T16:56:53","guid":{"rendered":"http:\/\/devblogs.microsoft.com\/premier-developer\/?p=36653"},"modified":"2019-05-06T10:28:46","modified_gmt":"2019-05-06T17:28:46","slug":"creating-azure-iot-edge-custom-modules-in-c-send-and-receive-data-from-iot-hub","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/premier-developer\/creating-azure-iot-edge-custom-modules-in-c-send-and-receive-data-from-iot-hub\/","title":{"rendered":"Creating Azure IoT Edge Custom Modules in C# &ndash; send and receive data from IoT Hub"},"content":{"rendered":"<p>This post is from Premier Developer consultant <a target=\"_blank\" href=\"https:\/\/www.linkedin.com\/in\/mark-taylor-5043351\/\" rel=\"noopener\">Mark Taylor<\/a>.<\/p>\n<hr \/>\n<p>This article assumes a basic understanding of the functionality of Azure IoT Edge.\u00a0 If you don\u2019t have this, start with the official documentation: <a href=\"https:\/\/azure.microsoft.com\/en-us\/campaigns\/iot-edge\/\">https:\/\/azure.microsoft.com\/en-us\/campaigns\/iot-edge\/<\/a>.<\/p>\n<p>The current Azure IoT Edge samples for .Net are great, but they do not (as of the time of this writing) demonstrate how to hook up and send data to IoTHub.\u00a0 Here we will set out step-by-step instructions for doing this using the existing samples as a starting point.\u00a0 The instructions below show how to send messages to IoTHub using Azure IoT Edge with custom .Net modules.\u00a0 They also show how you can receive cloud to device messages from IoT Hub in your .Net module, so you can implement commands or management operations for your device.<\/p>\n<p>Read the rest on Mark\u2019s blog <a target=\"_blank\" href=\"https:\/\/blogs.msdn.microsoft.com\/marktayl\/2017\/05\/16\/creating-azure-iot-edge-custom-modules-in-c-send-and-receive-data-from-iot-hub\/\" rel=\"noopener\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post is from Premier Developer consultant Mark Taylor. This article assumes a basic understanding of the functionality of Azure IoT Edge.\u00a0 If you don\u2019t have this, start with the official documentation: https:\/\/azure.microsoft.com\/en-us\/campaigns\/iot-edge\/. The current Azure IoT Edge samples for .Net are great, but they do not (as of the time of this writing) demonstrate [&hellip;]<\/p>\n","protected":false},"author":582,"featured_media":37840,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[25,125],"tags":[],"class_list":["post-36653","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure","category-iot"],"acf":[],"blog_post_summary":"<p>This post is from Premier Developer consultant Mark Taylor. This article assumes a basic understanding of the functionality of Azure IoT Edge.\u00a0 If you don\u2019t have this, start with the official documentation: https:\/\/azure.microsoft.com\/en-us\/campaigns\/iot-edge\/. The current Azure IoT Edge samples for .Net are great, but they do not (as of the time of this writing) demonstrate [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/36653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/users\/582"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/comments?post=36653"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/36653\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media\/37840"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media?parent=36653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/categories?post=36653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/tags?post=36653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}