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

Creating a custom binding

You need to create a custom trigger when you want to run your Azure Function as a reaction to your custom events. In the example we saw in the previous section, we would like to run our function when the temperature of a city rises by a threshold: exceeding the threshold represents our custom event.

You must create a custom binding, instead, when you want to interact with an external data source within your Azure Function and you want to demand at runtime the responsibility for the creation and life cycle management of the binding. In that case, your function receives the instance of the binding from the runtime and doesn't care about its creation or release.

In fact, you also can interact with an external source ...

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