Binding

Binding specifies the metadata for your function trigger, input or output, and is defined in the function.json file. For precompiled functions, the function.json file is generated at compilation time by parsing the attributes in the function's signature.

While there is only one trigger per function, there is no limit to the number of input and output bindings. Currently, the binding type must be selected from the supported bindings list; however, defining custom bindings will be supported in the future.

Let us explore some examples of the three possible binding types.

Get Serverless computing in Azure with .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.