SlideShare a Scribd company logo
This session will commence shortly
We are constantly striving to create excellent content
and would appreciate if you could take this brief survey.
Survey Link: https://aka.ms/Reactor/Survey
Please enter the event code 12788 at the start of survey
meetup.com/Microsoft-Reactor-Stockholm/
Speaker Slide:
Massimo Bonanni
Azure Technical Trainer @ Microsoft
I spend my time to help customers to empower their Azure skills to achieve more and leverage the
power of Azure in their solutions.
I’m also a technical speaker both for local and international events and a user-group guy.
I founded Aa couple of communities in Italy and collaborated with most of the Italian communities.
Finally, I is also passionate about biking, reading, and dogs!!
meetup.com/Microsoft-Reactor-Stockholm/
Empower every Azure Function to achieve
more!!
Massimo Bonanni
Azure Technical Trainer @ Microsoft
Be aware of others
Be friendly and
patient
Be welcoming and
respectful
Be open to all
questions and
viewpoints
Be understanding of
differences
Be kind and
considerate to others
meetup.com/Microsoft-Reactor-Stockholm/
Pay-per-use
Only pay for what you use: billing is typically calculated
on the number of function calls,
code execution time, and memory used.*
Instant, event-driven scalability
Application components react to events and
triggers in near real-time with virtually unlimited
scalability; compute resources are used as needed.
What is serverless?
Full abstraction of servers
Developers can just focus on their code—there are
no distractions around server management, capacity
planning, or availability.
meetup.com/Microsoft-Reactor-Stockholm/
What are Azure Functions?
Author functions in
C#, F#, Node.JS, Java,
and more
Code
Events
React to timers, HTTP, or
events from your favorite
Azure services, with more
on the way
Outputs
Send results to an
ever-growing
collection of services
Boost development efficiency
meetup.com/Microsoft-Reactor-Stockholm/
Anatomy of an Azure Function
Trigger Attribute Trigger
Payload
Binding
Attribute
Binding
Payload
meetup.com/Microsoft-Reactor-Stockholm/
Extend triggers and bindings
All Triggers and Bindings (except for HTTPTrigger and
Timer Trigger) are available as external packages.
The Azure Functions SDK is based on the Azure
WebJobs SDK and inherits the extension SDK from it.
An extension is a class that implements the
IExtensionConfigProvider interface.
meetup.com/Microsoft-Reactor-Stockholm/
Azure Functions lifecycle phases
Startup
The runtime executes this phase
only when the host starts.
The runtime registers the built-in
binding (TimerTrigger and
HttpTrigger).
You must register your custom
extensions.
Runtime
The runtime executes this phase
every time a function is triggered
by an event.
meetup.com/Microsoft-Reactor-Stockholm/
The Startup phase
Registering
extensions
Functions
scaffolding
Function
dependencies
resolving
Function
internal
representation
Listeners
creation and
execution
meetup.com/Microsoft-Reactor-Stockholm/
Retrieving
function definition
Binding
conversion
Function
execution
The Runtime phase
Empower every Azure Function to achieve more!!
meetup.com/Microsoft-Reactor-Stockholm/
Classes involved in a Trigger
TriggerAttribute TriggerConfigProvider TriggerBindingProvider
TriggerBinding TriggerListener
meetup.com/Microsoft-Reactor-Stockholm/
Classes involved in a Trigger
TriggerAttribute
TriggerConfigProvider TriggerBindingProvider
TriggerBinding TriggerListener
Decorates an argument of
a method to identify the
trigger
meetup.com/Microsoft-Reactor-Stockholm/
Classes involved in a Trigger
TriggerAttribute TriggerConfigProvider
TriggerBindingProvider
TriggerBinding TriggerListener
Define the extension
(implementing the
IExtensionConfigProvider)
Decorates an argument of
a method to identify the
trigger
meetup.com/Microsoft-Reactor-Stockholm/
Classes involved in a Trigger
TriggerAttribute TriggerConfigProvider TriggerBindingProvider
TriggerBinding TriggerListener
Factory class for creating
the actual binding object
Define the extension
(implementing the
IExtensionConfigProvider)
Decorates an argument of
a method to identify the
trigger
meetup.com/Microsoft-Reactor-Stockholm/
Classes involved in a Trigger
TriggerAttribute TriggerConfigProvider TriggerBindingProvider
TriggerBinding
TriggerListener
Binding object, creates
the actual listener
Factory class for creating
the actual binding object
Define the extension
(implementing the
IExtensionConfigProvider)
Decorates an argument of
a method to identify the
trigger
meetup.com/Microsoft-Reactor-Stockholm/
Classes involved in a Trigger
TriggerAttribute TriggerConfigProvider TriggerBindingProvider
TriggerBinding TriggerListener
It reacts to events and
executing the function
Binding object, creates
the actual listener
Factory class for creating
the actual binding object
Define the extension
(implementing the
IExtensionConfigProvider)
Decorates an argument of
a method to identify the
trigger
meetup.com/Microsoft-Reactor-Stockholm/
Startup
Phase
The runtime creates the
factory for binding
The runtime uses the
factory to create the
binding instance
The runtime uses
binding class to create
the listener
The runtime starts the
listener
Empower every Azure Function to achieve more!!
Empower every Azure Function to achieve more!!
meetup.com/Microsoft-Reactor-Stockholm/
Classes involved in a Binding
BindingAttribute BindingConfigProvider
BindingConverter Binding class
meetup.com/Microsoft-Reactor-Stockholm/
Classes involved in a Binding
BindingAttribute
BindingConfigProvider
BindingConverter Binding class
Decorates an argument of
a method to identify the
binding
meetup.com/Microsoft-Reactor-Stockholm/
Classes involved in a Binding
BindingAttribute BindingConfigProvider
BindingConverter Binding class
Define the extension
(implementing the
IExtensionConfigProvider)
Decorates an argument of
a method to identify the
binding
meetup.com/Microsoft-Reactor-Stockholm/
Classes involved in a Binding
BindingAttribute BindingConfigProvider
BindingConverter
Binding class
Creates the actual
binding class for the
binding
Decorates an argument of
a method to identify the
binding
Define the extension
(implementing the
IExtensionConfigProvider)
meetup.com/Microsoft-Reactor-Stockholm/
Classes involved in a Binding
BindingAttribute BindingConfigProvider
BindingConverter Binding class
The class that actually
binds to the data source
Decorates an argument of
a method to identify the
binding
Define the extension
(implementing the
IExtensionConfigProvider)
Creates the actual
binding class for the
binding
meetup.com/Microsoft-Reactor-Stockholm/
Startup
Phase
Runtime
Phase
The runtime creates
the extension
The runtime creates
the converter
When the listener fires a function
(FunctionExecutor),
the runtime uses the converter to
create the binding class
Empower every Azure Function to achieve more!!
meetup.com/Microsoft-Reactor-Stockholm/
Takeaways
Implementing your own triggers and bindings allows you to
abstract the data source with respect to the Azure Function code.
You pay for duration and memory occupation of your function.
Your code must be efficiently and avoid to load assembly that you
don’t use.
Trigger listener is one of the most important classes for scalability
and performance: write it once and the best you can!!!
meetup.com/Microsoft-Reactor-Stockholm/
Thanks for your
attention!!!!!
Massimo Bonanni
Azure Technical Trainer
massimo.bonanni@microsoft.com
@massimobonanni
Connect with me on LinkedIn
linkedin.com/in/massimobonanni/
http://bit.ly/MasteringServerless
meetup.com/Microsoft-Reactor-Stockholm/
Join our community
meetup.com/Microsoft-Reactor-Stockholm/
@MSFTReactor
http://www.youtube.com/c/MicrosoftReactor
Microsoft Reactor at Epicenter,
Master Samuelsgatan 36, 5th floor,
111 57 Stockholm Sweden
Questions? ReactorStockholm@microsoft.com
ReactorStockholm@microsoft.com
meetup.com/Microsoft-Reactor-Stockholm/
References
Azure Functions Documentation
https://docs.microsoft.com/en-US/azure/azure-functions/
Azure Functions Code Samples
https://azure.microsoft.com/en-us/resources/samples/?service=functions&sort=0
Azure Updates
https://azure.microsoft.com/en-us/roadmap/?category=compute
Demo AccuWeather Trigger / Twitter Binding – GitHub
https://github.com/massimobonanni/AzureFunctionsSamples
Demo SQL Trigger/Binding – GitHub
https://github.com/massimobonanni/SQLServerless
Photo by Jaredd Craig on Unsplash

More Related Content

PDF
Stateful patterns in Azure Functions
PDF
Stateful pattern con Azure Functions
PDF
Empower every Azure Function to achieve more!!
PDF
The art of Azure Functions (unit) testing and monitoring
PDF
IoT in salsa Serverless
PPT
Ado.Net Data Services (Astoria)
PDF
IoT in salsa serverless
PDF
The art of Azure Functions (unit) testing and monitoring
Stateful patterns in Azure Functions
Stateful pattern con Azure Functions
Empower every Azure Function to achieve more!!
The art of Azure Functions (unit) testing and monitoring
IoT in salsa Serverless
Ado.Net Data Services (Astoria)
IoT in salsa serverless
The art of Azure Functions (unit) testing and monitoring

What's hot (20)

PDF
Workflow as code with Azure Durable Functions
PDF
Durable Functions vs Logic App : la guerra dei workflow!!
PPTX
Introducing to Azure Functions
PPT
Servicehost Customization
PDF
5c8605.ado.net
PPTX
Windows iot barone
PPT
Linq
PPTX
Code Generation for Azure with .net
PPTX
Net campus2015 antimomusone
PPTX
Testing a Service Fabric solution and live happy!!
PPTX
Discovering the Service Fabric's actor model
PDF
Xmas Serverless Transformation: when the elf doesn’t scale!
PPTX
Discovering the Service Fabric's actor model
PDF
End-to-end IoT solutions with Java and Eclipse IoT
PPTX
"Project Tye to Tie .NET Microservices", Oleg Karasik
PDF
Winning the Lottery with Spring: A Microservices Case Study for the Dutch Lot...
PDF
Microservices with Java, Spring Boot and Spring Cloud
PDF
Dynatrace - Red Hat workshop : Monolith to Microservices
PDF
Security Patterns for Microservice Architectures - SpringOne 2020
PPTX
First Look at Azure Logic Apps (BAUG)
Workflow as code with Azure Durable Functions
Durable Functions vs Logic App : la guerra dei workflow!!
Introducing to Azure Functions
Servicehost Customization
5c8605.ado.net
Windows iot barone
Linq
Code Generation for Azure with .net
Net campus2015 antimomusone
Testing a Service Fabric solution and live happy!!
Discovering the Service Fabric's actor model
Xmas Serverless Transformation: when the elf doesn’t scale!
Discovering the Service Fabric's actor model
End-to-end IoT solutions with Java and Eclipse IoT
"Project Tye to Tie .NET Microservices", Oleg Karasik
Winning the Lottery with Spring: A Microservices Case Study for the Dutch Lot...
Microservices with Java, Spring Boot and Spring Cloud
Dynatrace - Red Hat workshop : Monolith to Microservices
Security Patterns for Microservice Architectures - SpringOne 2020
First Look at Azure Logic Apps (BAUG)
Ad

Similar to Empower every Azure Function to achieve more!! (20)

PPTX
Azure Functions & Serverless Computing
PPTX
Azure full
PDF
Download full ebook of Azure Functions With C Marto Torres instant download pdf
PPTX
Deep Dive Azure Functions - Global Azure Bootcamp 2019
PPTX
CATzure Azure Functions
PPTX
Introduction to Azure Functions
PPTX
Serverless with Azure Functions
PPTX
Going Serverless with Azure Functions #1 - Introduction to Azure Functions
PDF
Azure functions
PPTX
Azure Functions.pptx
PDF
Azure web functions little bites of services
PPTX
Durable Azure Functions
PPTX
Azure Functions - Introduction
PPTX
Introduction to serverless compute with azure functions
PPTX
Scalable APIs with Azure Functions
PPTX
Whats new in Azure Functions and .NET 6.pptx
PPTX
Building API in the cloud using Azure Functions
PPTX
Azure functions: Build apps faster with serverless architecture (March 2018)
PPTX
Serverless Computing With Azure Functions
PPTX
Azure Functions e Azure Logics Apps: i tuoi coltellini svizzeri per gestire i...
Azure Functions & Serverless Computing
Azure full
Download full ebook of Azure Functions With C Marto Torres instant download pdf
Deep Dive Azure Functions - Global Azure Bootcamp 2019
CATzure Azure Functions
Introduction to Azure Functions
Serverless with Azure Functions
Going Serverless with Azure Functions #1 - Introduction to Azure Functions
Azure functions
Azure Functions.pptx
Azure web functions little bites of services
Durable Azure Functions
Azure Functions - Introduction
Introduction to serverless compute with azure functions
Scalable APIs with Azure Functions
Whats new in Azure Functions and .NET 6.pptx
Building API in the cloud using Azure Functions
Azure functions: Build apps faster with serverless architecture (March 2018)
Serverless Computing With Azure Functions
Azure Functions e Azure Logics Apps: i tuoi coltellini svizzeri per gestire i...
Ad

More from Massimo Bonanni (17)

PDF
Architetture Serverless con SQL Server e Azure Functions
PDF
Tutto quello che avreste voluto sapere sull'API Management (e non avete mai o...
PDF
Everything you always wanted to know about API Management (but were afraid to...
PPTX
Welcome Azure Functions 2. 0
PPTX
Soluzioni IoT con le tecnologie Microsoft
PPTX
Project Gesture & Real Sense: il potere nelle mani!!
PPTX
Project Gesture & RealSense: gestures in a simple way!!
PPTX
Project Prague & RealSense: il potere nelle mani!!
PPTX
L'approccio ai microservizi secondo Service Fabric
PPTX
The Microservices world in. NET Core and. NET framework
PPTX
Microservices architecture & Service Fabric
PPTX
Introduzione allo sviluppo UWP per xBox
PPTX
Cognitive Services & LUIS
PPTX
Service Fabric: la potenza dei micro servizi
PPTX
Automated UI testing for iOs and Android mobile apps
PPTX
Soluzioni IoT con le tecnologie Microsoft
PPTX
Xamarin Test Cloud
Architetture Serverless con SQL Server e Azure Functions
Tutto quello che avreste voluto sapere sull'API Management (e non avete mai o...
Everything you always wanted to know about API Management (but were afraid to...
Welcome Azure Functions 2. 0
Soluzioni IoT con le tecnologie Microsoft
Project Gesture & Real Sense: il potere nelle mani!!
Project Gesture & RealSense: gestures in a simple way!!
Project Prague & RealSense: il potere nelle mani!!
L'approccio ai microservizi secondo Service Fabric
The Microservices world in. NET Core and. NET framework
Microservices architecture & Service Fabric
Introduzione allo sviluppo UWP per xBox
Cognitive Services & LUIS
Service Fabric: la potenza dei micro servizi
Automated UI testing for iOs and Android mobile apps
Soluzioni IoT con le tecnologie Microsoft
Xamarin Test Cloud

Recently uploaded (20)

PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
Hybrid model detection and classification of lung cancer
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PPTX
1. Introduction to Computer Programming.pptx
PDF
August Patch Tuesday
PPTX
Tartificialntelligence_presentation.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
Mushroom cultivation and it's methods.pdf
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PPTX
Chapter 5: Probability Theory and Statistics
PDF
Getting Started with Data Integration: FME Form 101
PPTX
OMC Textile Division Presentation 2021.pptx
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Hybrid model detection and classification of lung cancer
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
1. Introduction to Computer Programming.pptx
August Patch Tuesday
Tartificialntelligence_presentation.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Enhancing emotion recognition model for a student engagement use case through...
Mushroom cultivation and it's methods.pdf
1 - Historical Antecedents, Social Consideration.pdf
Zenith AI: Advanced Artificial Intelligence
A comparative analysis of optical character recognition models for extracting...
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Chapter 5: Probability Theory and Statistics
Getting Started with Data Integration: FME Form 101
OMC Textile Division Presentation 2021.pptx
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Hindi spoken digit analysis for native and non-native speakers
Accuracy of neural networks in brain wave diagnosis of schizophrenia

Empower every Azure Function to achieve more!!