Skip to content

Commit ae592d4

Browse files
committed
Edits
1 parent f46de74 commit ae592d4

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

articles/iot-hub/how-to-file-upload.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@ In some scenarios, you can't easily map the data your devices send into the rela
2828

2929
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.
3030

31+
This article is meant to complement a runnable SDK samples that are referenced from within this article.
32+
3133
For more information, see:
3234

3335
* [Overview of file uploads with IoT Hub](iot-hub-devguide-file-upload.md)
3436
* [Configure IoT Hub file uploads using the Azure portal](iot-hub-configure-file-upload.md)
3537
* [Introduction to Azure Blob Storage](../storage/blobs/storage-blobs-introduction.md)
36-
* [Azure Blob Storage API reference](../storage/blobs/reference.md)
3738
* [Azure IoT SDKs](iot-hub-devguide-sdks.md)
3839

3940
[!INCLUDE [iot-hub-include-x509-ca-signed-file-upload-support-note](../../includes/iot-hub-include-x509-ca-signed-file-upload-support-note.md)]
@@ -44,7 +45,7 @@ For more information, see:
4445

4546
* **A registered device**. Register one in the [Azure portal](create-connect-device.md).
4647

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).
4849

4950
* 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).
5051

includes/iot-hub-howto-file-upload-dotnet.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ This how-to contains two sections:
2020

2121
## Upload a file from a device application
2222

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+
2325
Follow this procedure to upload a file from a device to IoT hub:
2426

2527
* Connect to IoT hub
@@ -29,7 +31,7 @@ Follow this procedure to upload a file from a device to IoT hub:
2931

3032
### Connect to IoT hub
3133

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.
3335

3436
``` csharp
3537
static string connectionString = "{IoT hub primary connection string}";

0 commit comments

Comments
 (0)