Creating the durable orchestrator and triggering it for each CSV import
This is one of the most important and interesting recipes. We'll learn how to create the durable orchestrator responsible for managing all the activity functions that we create for the different individual tasks required to complete the CSVImport
project.
How to do it...
In this section, we are going to create an orchestrator and also learn how to invoke it by performing the following steps:
- Create a new function by right-clicking on
CSVImport.DurableFunctions
, click on Add, and then choose New Azure Function, as shown in Figure 8.14:Figure 8.14: Visual Studio—adding a new function
- In the Add New Item popup, choose Azure Function, provide the name
CSVImport_Orchestrator
, and click on Add, as shown in Figure 8.15:Figure 8.15: Visual Studio—adding a new function
- In the New Azure Function popup, select the Durable Functions Orchestration template and click on the OK button...