How to do it...

In this recipe, we will create the following Azure Function triggers:

  • One Orchestrator function named GenerateQRCode
  • Two Activity trigger functions:
    • GetAllCustomers: This function just returns the array of customer IDs. In your application, you would need to write your business logic.
    • CreateQRCodeImagesPerCustomer: This function doesn't actually create the barcode, however it just logs a message to the console as our goal is to understand the features of Durable Functions. For each customer, we will randomly generate a number less than 50,000 and just iterate through it.

Get Azure Serverless Computing Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.