Skip to Content
Azure Serverless Computing Cookbook
book

Azure Serverless Computing Cookbook

by Praveen Kumar Sreeram
August 2017
Intermediate to advanced
332 pages
8h 54m
English
Packt Publishing
Content preview from Azure Serverless Computing Cookbook

Creating Orchestrator function

  1. Create a new function named DurableFuncManager using the ManualTrigger-C#, replace the default code with the following code and click on the Save button to save the changes:
        #r "Microsoft.Azure.WebJobs.Extensions.DurableTask"        public static async Task<List<string>>          Run(DurableOrchestrationContext context)        {           var outputs = new List<string>();           outputs.Add(await context.CallFunctionAsync<string>            ("ConveyGreeting", "Welcome Cookbook Readers"));           return outputs;        }
  1. In the Advanced editor of the Integrate tab, replace the default code with the following code:
        {           "bindings": [           {              "name": "context",              "type": "orchestrationTrigger",              "direction": "in"           }         ],         "disabled": false        }
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Azure Serverless Computing Cookbook - Second Edition

Azure Serverless Computing Cookbook - Second Edition

Praveen Kumar Sreeram, Jason Marston
Mastering Azure Serverless Computing

Mastering Azure Serverless Computing

Lorenzo Barbieri, Massimo Bonanni
Azure Serverless Computing Cookbook - Third Edition

Azure Serverless Computing Cookbook - Third Edition

Praveen Kumar Sreeram, Kasam Shaikh, Greg Leonardo

Publisher Resources

ISBN: 9781788390828Supplemental Content