Developing Azure Functions
Azure App Services
Florin Angelescu
Azure Cloud Architect
What are triggers?
$$

- Defines how a function is invoked
- Functions can respond to:
- HTTP requests
- Messages in a queue
- File upload
- Functions must have one trigger
What are bindings?
- Simplify connections to external data and services
- Integration is handled behind the scenes
- Keeps code lean with no extra infrastructure management
Input vs. output bindings

- Automatically receive a blob file or a database record

- Cosmos DB, Event Hubs, or email providers
Input vs. output bindings
Real-world example
- User uploads an image:
- A blob trigger starts the function
- Input binding supplies the image to the function
- The function might:
- Resize the picture
- Add tags
- Output bindings can then:
- Store the updated image
- Record metadata in Cosmos DB
- Send a notification
Let's practice!
Azure App Services
Preparing Video For Download...