From the course: Azure Functions for Developers
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Implementing a durable function - Azure Tutorial
From the course: Azure Functions for Developers
Implementing a durable function
- [Narrator] At this point, we have an orchestration function that is going to invoke the photo storage and photos analyzer functions. Let's start by refactoring the existing photo storage class. So let's open that and let's close these so we can have more screen space, and the first thing that I want to do is to remove the constructor and also these analyzers serve as reference because I'm not going to use that here, let's remove these, and of course we don't have the analysis result anymore. And secondly, I want to remove these HTTP trigger line because I want to add a new activity, trigger attribute and I'm going to decorate this follow upload model object, that's why I don't need this two lines anymore, because I'm going to pass the follow upload model object from the orchestrator to this photo storage function. Now I'm going to change the type that we're going to return in this case I want to return a byte run, that's why this…
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.