A .NET Core Azure IoT Hubs Device File Upload Demo App
-
Create a new Azure IoT Hub in the Standard or Free Tier.
-
Create an IoT Device.
-
Copy the Primary Connection String from the IoT Device
-
Go to
File Uploadin the IoT Hub -
Click
Azure Storage ContainerunderStorage container settings -
Either create a new Storage Account by pressing
+ Storage accountor select an existing Storage Account -
Either create a new Container by pressing the
+ Containerbutton or select an existing container -
Press the
Selectbutton. -
Press the
Savebutton -
Run the Demo application with;
dotnet run
- Paste the IoT Device Primary Connection String into the console when prompted
- The
test.csvFile will be uploaded - Navigate to the Storage Account
- Navigate to
Storage Explorer (preview) - Expand Blob Containers
- Click on your Container
- Double Click on the folder named the same as your IoT Device
- The Uploaded File should be shown.