Skip to Content
Mastering Azure Serverless Computing
book

Mastering Azure Serverless Computing

by Lorenzo Barbieri, Massimo Bonanni
November 2019
Intermediate to advanced
362 pages
7h 52m
English
Packt Publishing
Content preview from Mastering Azure Serverless Computing

OrderReceiver

The scenario is explained in the following diagram:

  1. The OrderReceiver client function is triggered by an HTTP Trigger with a POST request:
[FunctionName(FunctionNames.OrderReceiverFunction)]public static async Task<HttpResponseMessage> Run([HttpTrigger(AuthorizationLevel.Function, "post")] HttpRequestMessage req, [OrchestrationClient] DurableOrchestrationClient starter, ILogger log){    string instanceId = null;    var orderDto = await ReadOrderFromRequestAsync(req);    if (orderDto != null && orderDto.IsValid())    {        var order = orderDto.ToOrder(); instanceId = await starter.StartNewAsync(FunctionNames.OrderWorkflowFunction, order.Id, ...
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

Advanced Serverless Architectures with Microsoft Azure

Advanced Serverless Architectures with Microsoft Azure

Daniel Bass
Azure Serverless Computing Cookbook - Third Edition

Azure Serverless Computing Cookbook - Third Edition

Praveen Kumar Sreeram, Kasam Shaikh, Greg Leonardo

Publisher Resources

ISBN: 9781789951226Supplemental Content