Skip to Content
Serverless computing in Azure with .NET
book

Serverless computing in Azure with .NET

by Sasha Rosenbaum
August 2017
Intermediate to advanced
468 pages
12h 5m
English
Packt Publishing
Content preview from Serverless computing in Azure with .NET

Input binding

As we've just seen, trigger binding also defines the first input parameter for your function. On top of that, you can add other bindings to specify additional input parameters. As you will see in the table later in this chapter, certain types of bindings can serve as input, but not as triggers.

Every input binding has the settings of name, type, and direction, with direction value is set to in. The rest of the settings will depend on the type of binding you use. Most input-only bindings will also have a connection string, which allows them to connect to an external data store from which the data is coming.

As an example, we will use an input-only binding used for Azure Storage Queue, as shown in the following code:

 "bindings": ...
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

Mastering Azure Serverless Computing

Mastering Azure Serverless Computing

Lorenzo Barbieri, Massimo Bonanni
Implementing Azure: Putting Modern DevOps to Use

Implementing Azure: Putting Modern DevOps to Use

Florian Klaffenbach, Oliver Michalski, Markus Klein, Mohamed Wali

Publisher Resources

ISBN: 9781787288393Supplemental Content