You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-hub/how-to-file-upload.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,12 +28,13 @@ In some scenarios, you can't easily map the data your devices send into the rela
28
28
29
29
These files are typically batch processed in the cloud, using tools such as [Azure Data Factory](../data-factory/introduction.md) or the [Hadoop](../hdinsight/index.yml) stack. When you need to upload files from a device, you can still use the security and reliability of IoT Hub. This article shows you how.
30
30
31
+
This article is meant to complement a runnable SDK samples that are referenced from within this article.
32
+
31
33
For more information, see:
32
34
33
35
*[Overview of file uploads with IoT Hub](iot-hub-devguide-file-upload.md)
34
36
*[Configure IoT Hub file uploads using the Azure portal](iot-hub-configure-file-upload.md)
35
37
*[Introduction to Azure Blob Storage](../storage/blobs/storage-blobs-introduction.md)
36
-
*[Azure Blob Storage API reference](../storage/blobs/reference.md)
***A registered device**. Register one in the [Azure portal](create-connect-device.md).
46
47
47
-
* IoT Hub **Service Connect** permission - To receive file upload notification messages, your backend service needs the **Service Connect** permission. By default, every IoT Hub is created with a shared access policy named **service** that grants this permission. For more information, see [Create an IoT hub using the Azure portal](/azure/iot-hub/iot-hub-create-through-portal?#shared-access-policies).
48
+
* IoT Hub **Service Connect** permission - To receive file upload notification messages, your backend service needs the **Service Connect** permission. By default, every IoT Hub is created with a shared access policy named **service** that grants this permission. For more information, see [Connect to an IoT hub](/azure/iot-hub/create-hub?&tabs=portal#connect-to-an-iot-hub).
48
49
49
50
* Configure file upload in your IoT hub by linking an **Azure Storage account** and **Azure Blob Storage container** associated with IoT Hub. You can configure these using the [Azure portal](/azure/iot-hub/iot-hub-configure-file-upload), [Azure CLI](/azure/iot-hub/iot-hub-configure-file-upload-cli), or [Azure PowerShell](/azure/iot-hub/iot-hub-configure-file-upload-powershell).
Copy file name to clipboardExpand all lines: includes/iot-hub-howto-file-upload-dotnet.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@ This how-to contains two sections:
20
20
21
21
## Upload a file from a device application
22
22
23
+
This section describes how to upload a file from a device to an IoT hub using the [DeviceClient](/dotnet/api/microsoft.azure.devices.client.deviceclient) class in the Azure IoT SDK for .NET.
24
+
23
25
Follow this procedure to upload a file from a device to IoT hub:
24
26
25
27
* Connect to IoT hub
@@ -29,7 +31,7 @@ Follow this procedure to upload a file from a device to IoT hub:
29
31
30
32
### Connect to IoT hub
31
33
32
-
Supply the IoT hub primary connection string to [DeviceClient](/dotnet/api/microsoft.azure.devices.client.deviceclient) using the[CreateFromConnectionString](/dotnet/api/microsoft.azure.devices.client.deviceclient.createfromconnectionstring?#microsoft-azure-devices-client-deviceclient-createfromconnectionstring(system-string)) method. `AMQP` is the default transport protocol.
34
+
Supply the IoT hub primary connection string as described in prerequisites to[CreateFromConnectionString](/dotnet/api/microsoft.azure.devices.client.deviceclient.createfromconnectionstring?#microsoft-azure-devices-client-deviceclient-createfromconnectionstring(system-string)) method. `AMQP` is the default transport protocol.
0 commit comments