From the course: Azure Functions for Developers
Unlock the full course today
Join today to access over 22,700 courses taught by industry experts or purchase this course individually.
Implementing the Blob trigger in the Resizer function - Azure Tutorial
From the course: Azure Functions for Developers
Implementing the Blob trigger in the Resizer function
- [Instructor] In this video, we'll see how to use the Blob storage trigger in Azure functions. So for this, I'm going to right click on the project and then I'm going to select the new Azure function option. Here, I'm going to specify the name as photos resizer. And in this dialog box, I'm going to choose Blob trigger. As you can see, you can specify the connection streams and name, and also the path. This is photos, which is the name of the container that we created in the previous video. So let's click on OK. As you can see here, this code is using the Blob trigger attribute that is decorating this stream object. It also included this name and this logger. Let's rename the logger to something more meaningful. So this Blob trigger is interesting because it's using this expression name inside this curly braces. This means that this Blob trigger is smart enough to know which file was uploaded to the Blob storage. And…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
What are triggers and bindings?2m 50s
-
(Locked)
Creating and preparing the project5m 22s
-
(Locked)
Implementing the Blob output binding in the Storage function5m 26s
-
(Locked)
Implementing the Blob trigger in the Resizer function6m 39s
-
(Locked)
Implementing the CosmosDB output binding in the Storage function4m 54s
-
(Locked)
Implementing the CosmosDB input binding in the Search function5m 34s
-
(Locked)
Implementing the route and Blob input bindings in the Download function7m 12s
-
(Locked)
-
-
-
-
-