From the course: Extend Web Application Functionality on Microsoft Azure
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Implementing the Blob output binding in the Function - Azure Tutorial
From the course: Extend Web Application Functionality on Microsoft Azure
Implementing the Blob output binding in the Function
- [Instructor] We need to save those files somewhere, that's why we created the records container in the storage account. That's why we need an additional NuGet package here which is Microsoft.Azure.WebJobs.Extensions.Storage. So it's right here. And let's click on Install, Accept, and we're ready to go. So we need to implement the blob output binding. So let's go ahead and do the following. Here, I want to use the blob output binding that takes the blob path, in this case it's records and the file access that I want to use is write since we're going to create those PDF files. And the connection string setting that I want to use is WpmStorage. And let's decorate the following object which is BlobContainerClient. So we're going to use that for saving the blob. So let's see what's going on here. Let's use Connection equals the value, okay. So now we're ready to use that BlobContainerClient for uploading the blob. So we…
Contents
-
-
-
Creating PDF files with Azure Functions and Puppeteer38s
-
(Locked)
Configuring the existing cloud resources1m 49s
-
(Locked)
Creating the repository and the Azure Functions project4m 21s
-
(Locked)
Implementing and testing the SQL trigger5m 8s
-
(Locked)
Implementing the code to generate HTML content7m 24s
-
(Locked)
Implementing the code to generate a PDF file using Puppeteer6m 56s
-
(Locked)
Implementing the Blob output binding in the Function4m 59s
-
(Locked)
Provisioning the Function app using the Azure Portal1m 9s
-
(Locked)
Manually deploying the Azure Function to the Function app4m 44s
-
-
-
-
-