SlideShare a Scribd company logo
Serverless Computing with
Azure Functions
Jaliya Udagedara
Microsoft MVP (Visual Studio & Development
Technologies)
Line-up
• Serverless Computing
• Azure Functions
• Triggers & Bindings
• Authorization
• Azure Functions Proxies
• Demo
• Performance Considerations
Serverless Computing
• Requires Servers
• Infrastructure details are abstracted
• Cloud provider manages resources
• Driven by events and triggers
• Pay only for the time your code is running
Azure Functions
BoxOneDrive Twilio
Dropbox Sendgrid
Azure
Storage
Develop
your way
Local
development
Event-driven
scale
Reduced
Dev Ops
Programming Model
Triggers and Bindings
• Triggers: Defines how a function is invoked
• Bindings
• Input
• Output
• return value
• out parameter
• collector object
Azure Functions Security
• Applies to HTTP Triggers
• Supports API Keys
• Host Keys
• Function Keys
•Integrated security with popular OAuth providers
Azure Functions Proxies
• Single API Surface
• Request/Response Transformations
• Mocking
Demo
Function App using Portal
Function App using Visual Studio
Azure Function Proxies
Performance Considerations
• Avoid long running functions
• Cross function communication
• Write functions to be stateless
• Write defensive functions
• Use async code but avoid blocking calls
References
• Demo Code
• Official Documentation
• Samples and Content
• Tools
• Azure Storage Explorer
• Azure Storage Emulator
• Azure Cosmos DB Emulator
Q & A
https://www.rateevent.com/rate/SCAAA347

More Related Content

What's hot (20)

PPTX
Inside Logic Apps
BizTalk360
 
PPTX
Azure Functions @ global azure day 2017
Sean Feldman
 
PPTX
Going Serverless with Azure Functions
Christos Matskas
 
PDF
[Struyf] Automate Your Tasks With Azure Functions
European Collaboration Summit
 
PPTX
Vincent biret azure functions and flow (toronto)
Vincent Biret
 
PPTX
Vincent biret azure functions and flow (ottawa)
Vincent Biret
 
PPTX
ECS19 - Laura Kokkarinen - Introduction to Microsoft Graph
European Collaboration Summit
 
PPTX
Integrating API Gateway and internal ELB
Juan Diaz
 
PPTX
First Look at Azure Logic Apps (BAUG)
Daniel Toomey
 
PPTX
SPS calgary 2017 introduction to azure functions microsoft flow
Vincent Biret
 
PDF
70-534: ARCHITECTING MICROSOFT AZURE SOLUTIONS
DotNetCampus
 
PPTX
Connector API Apps
BizTalk360
 
PPTX
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
BizTalk360
 
PPTX
Connect the Impossible with Azure Logic App
François Boucher
 
PDF
Ben Kehoe - Serverless Architecture for the Internet of Things
ServerlessConf
 
PPTX
Building serverless app_using_aws_lambda_b4usolution
Hoa Le
 
PPTX
Serverless in azure
Veresh Jain
 
PDF
Chris Anderson and Yochay Kiriaty - Serverless Patterns with Azure Functions
ServerlessConf
 
PDF
Creating Event Driven Serverless Applications - Sandeep - Adobe - Serverless ...
CodeOps Technologies LLP
 
PDF
Serverless Summit - Quiz
CodeOps Technologies LLP
 
Inside Logic Apps
BizTalk360
 
Azure Functions @ global azure day 2017
Sean Feldman
 
Going Serverless with Azure Functions
Christos Matskas
 
[Struyf] Automate Your Tasks With Azure Functions
European Collaboration Summit
 
Vincent biret azure functions and flow (toronto)
Vincent Biret
 
Vincent biret azure functions and flow (ottawa)
Vincent Biret
 
ECS19 - Laura Kokkarinen - Introduction to Microsoft Graph
European Collaboration Summit
 
Integrating API Gateway and internal ELB
Juan Diaz
 
First Look at Azure Logic Apps (BAUG)
Daniel Toomey
 
SPS calgary 2017 introduction to azure functions microsoft flow
Vincent Biret
 
70-534: ARCHITECTING MICROSOFT AZURE SOLUTIONS
DotNetCampus
 
Connector API Apps
BizTalk360
 
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
BizTalk360
 
Connect the Impossible with Azure Logic App
François Boucher
 
Ben Kehoe - Serverless Architecture for the Internet of Things
ServerlessConf
 
Building serverless app_using_aws_lambda_b4usolution
Hoa Le
 
Serverless in azure
Veresh Jain
 
Chris Anderson and Yochay Kiriaty - Serverless Patterns with Azure Functions
ServerlessConf
 
Creating Event Driven Serverless Applications - Sandeep - Adobe - Serverless ...
CodeOps Technologies LLP
 
Serverless Summit - Quiz
CodeOps Technologies LLP
 

Similar to Serverless Computing With Azure Functions (20)

PDF
Serverless Computing with Azure
Analben Mehta
 
PPTX
Azure functions serverless
Udaiappa Ramachandran
 
PDF
Serverless API with Azure Functions
Analben Mehta
 
PPTX
Going Serverless with Azure Functions #1 - Introduction to Azure Functions
Kasun Kodagoda
 
PPTX
Go Serverless with Cosmos DB, Azure Functions and Blazor
Timothy McAliley
 
PPT
BUILDING SERVERLESS SOLUTIONS WITH AZURE FUNCTIONS
CodeOps Technologies LLP
 
PPTX
Scalable APIs with Azure Functions
Christos Matskas
 
PDF
Getting Started with Serverless Architectures using Azure Functions
Marc Duiker
 
PPTX
Azure Functions Real World Examples
Yochay Kiriaty
 
PPTX
Durable Azure Functions
Pushkar Saraf
 
PDF
Azure Functions 2.0 Deep Dive - デベロッパーのための最新開発ガイド
Yoichi Kawasaki
 
PDF
Empower every Azure Function to achieve more!!
Massimo Bonanni
 
PPTX
Serverless on Azure with Functions
Christos Matskas
 
PDF
Azure Functions: Unleashing the Power of Serverless Computing
1221 North Church Street, Suite 202 Moorestown, NJ 08057
 
PPTX
slides.pptx
abcabc794064
 
PPTX
Azure serverless computing
Udaiappa Ramachandran
 
PPTX
Azure Functions & Serverless Computing
Abhimanyu Singhal
 
PPTX
Azure Functions - Serverless Computing
Krunal Trivedi
 
PPTX
Serverless architecture with Azure
Christos Matskas
 
PPTX
From Zero to Serverless (CoderCruise 2018)
Chad Green
 
Serverless Computing with Azure
Analben Mehta
 
Azure functions serverless
Udaiappa Ramachandran
 
Serverless API with Azure Functions
Analben Mehta
 
Going Serverless with Azure Functions #1 - Introduction to Azure Functions
Kasun Kodagoda
 
Go Serverless with Cosmos DB, Azure Functions and Blazor
Timothy McAliley
 
BUILDING SERVERLESS SOLUTIONS WITH AZURE FUNCTIONS
CodeOps Technologies LLP
 
Scalable APIs with Azure Functions
Christos Matskas
 
Getting Started with Serverless Architectures using Azure Functions
Marc Duiker
 
Azure Functions Real World Examples
Yochay Kiriaty
 
Durable Azure Functions
Pushkar Saraf
 
Azure Functions 2.0 Deep Dive - デベロッパーのための最新開発ガイド
Yoichi Kawasaki
 
Empower every Azure Function to achieve more!!
Massimo Bonanni
 
Serverless on Azure with Functions
Christos Matskas
 
Azure Functions: Unleashing the Power of Serverless Computing
1221 North Church Street, Suite 202 Moorestown, NJ 08057
 
slides.pptx
abcabc794064
 
Azure serverless computing
Udaiappa Ramachandran
 
Azure Functions & Serverless Computing
Abhimanyu Singhal
 
Azure Functions - Serverless Computing
Krunal Trivedi
 
Serverless architecture with Azure
Christos Matskas
 
From Zero to Serverless (CoderCruise 2018)
Chad Green
 
Ad

More from Jaliya Udagedara (17)

PPTX
Getting Started Developing Universal Windows Platform (UWP) Apps
Jaliya Udagedara
 
PPTX
Introduction to Universal Apps-Jaliya Udagedara
Jaliya Udagedara
 
PPTX
Building Universal Apps for Windows and Windows Phone
Jaliya Udagedara
 
PPTX
Introduction to Universal Apps
Jaliya Udagedara
 
PPTX
Let's Explore C# 6
Jaliya Udagedara
 
PPTX
Windows Runtime Apps
Jaliya Udagedara
 
PPTX
Windows Runtime Apps
Jaliya Udagedara
 
PPTX
Universal Apps for Windows Devices
Jaliya Udagedara
 
PPTX
Debugging C# Applications
Jaliya Udagedara
 
PPTX
Windows Phone Application Development
Jaliya Udagedara
 
PPTX
Universal Apps for Windows Devices
Jaliya Udagedara
 
PPTX
Lambda Expressions in C# From Beginner To Expert - Jaliya Udagedara
Jaliya Udagedara
 
PPTX
Lap Around Entity Framework
Jaliya Udagedara
 
PPTX
Lap Around Entity Framework
Jaliya Udagedara
 
PPTX
Generics In and Out
Jaliya Udagedara
 
PPTX
Windows communication foundation (part2) jaliya udagedara
Jaliya Udagedara
 
PPTX
Windows communication foundation (part1) jaliya udagedara
Jaliya Udagedara
 
Getting Started Developing Universal Windows Platform (UWP) Apps
Jaliya Udagedara
 
Introduction to Universal Apps-Jaliya Udagedara
Jaliya Udagedara
 
Building Universal Apps for Windows and Windows Phone
Jaliya Udagedara
 
Introduction to Universal Apps
Jaliya Udagedara
 
Let's Explore C# 6
Jaliya Udagedara
 
Windows Runtime Apps
Jaliya Udagedara
 
Windows Runtime Apps
Jaliya Udagedara
 
Universal Apps for Windows Devices
Jaliya Udagedara
 
Debugging C# Applications
Jaliya Udagedara
 
Windows Phone Application Development
Jaliya Udagedara
 
Universal Apps for Windows Devices
Jaliya Udagedara
 
Lambda Expressions in C# From Beginner To Expert - Jaliya Udagedara
Jaliya Udagedara
 
Lap Around Entity Framework
Jaliya Udagedara
 
Lap Around Entity Framework
Jaliya Udagedara
 
Generics In and Out
Jaliya Udagedara
 
Windows communication foundation (part2) jaliya udagedara
Jaliya Udagedara
 
Windows communication foundation (part1) jaliya udagedara
Jaliya Udagedara
 
Ad

Recently uploaded (20)

PPTX
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PPTX
How Apagen Empowered an EPC Company with Engineering ERP Software
SatishKumar2651
 
PDF
Salesforce CRM Services.VALiNTRY360
VALiNTRY360
 
PPTX
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
PPTX
The Role of a PHP Development Company in Modern Web Development
SEO Company for School in Delhi NCR
 
PDF
Efficient, Automated Claims Processing Software for Insurers
Insurance Tech Services
 
PDF
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
PDF
Beyond Binaries: Understanding Diversity and Allyship in a Global Workplace -...
Imma Valls Bernaus
 
PDF
Alarm in Android-Scheduling Timed Tasks Using AlarmManager in Android.pdf
Nabin Dhakal
 
PPTX
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
PPTX
Feb 2021 Cohesity first pitch presentation.pptx
enginsayin1
 
PDF
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
PPTX
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
PDF
Capcut Pro Crack For PC Latest Version {Fully Unlocked} 2025
hashhshs786
 
PDF
Mobile CMMS Solutions Empowering the Frontline Workforce
CryotosCMMSSoftware
 
PDF
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
PDF
Powering GIS with FME and VertiGIS - Peak of Data & AI 2025
Safe Software
 
PPTX
Engineering the Java Web Application (MVC)
abhishekoza1981
 
PPT
MergeSortfbsjbjsfk sdfik k
RafishaikIT02044
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
How Apagen Empowered an EPC Company with Engineering ERP Software
SatishKumar2651
 
Salesforce CRM Services.VALiNTRY360
VALiNTRY360
 
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
The Role of a PHP Development Company in Modern Web Development
SEO Company for School in Delhi NCR
 
Efficient, Automated Claims Processing Software for Insurers
Insurance Tech Services
 
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
Beyond Binaries: Understanding Diversity and Allyship in a Global Workplace -...
Imma Valls Bernaus
 
Alarm in Android-Scheduling Timed Tasks Using AlarmManager in Android.pdf
Nabin Dhakal
 
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
Feb 2021 Cohesity first pitch presentation.pptx
enginsayin1
 
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
Capcut Pro Crack For PC Latest Version {Fully Unlocked} 2025
hashhshs786
 
Mobile CMMS Solutions Empowering the Frontline Workforce
CryotosCMMSSoftware
 
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
Powering GIS with FME and VertiGIS - Peak of Data & AI 2025
Safe Software
 
Engineering the Java Web Application (MVC)
abhishekoza1981
 
MergeSortfbsjbjsfk sdfik k
RafishaikIT02044
 

Serverless Computing With Azure Functions

Editor's Notes

  • #2: Pre-check Browser Font Size Visual Studio Font Size Start Cosmos DB local storage browser
  • #4: Serverless Computing-misnomer Infrastructure OS and Framework There is zero administrative tasks You just deploy your code (function) and it runs Serverless compute scales quickly (almost instantly) and vastly Automatically scales within seconds Difference between PaaS(Platform as a Service) With PaaS, you still need to select the OS, VM Size, Scaling and pay for that even it’s not being utilized
  • #5: Serverless Accelerate development C#/F#/JavaScript Experimental Languages: Python, PHP, TypeScript, Batch (.cmd, .bat), Bash, PowerShell Bring your own dependencies: Nuget and NPM Flexible development Visual Studio VS Code Portal Azure CLI Simplified integration Azure Cosmos DB, Storage, Service Bus, Notification Hubs, SendGrid, Twillio etc.
  • #7: Triggers: A function must have exactly one trigger Bindings provide a declarative way to connect to data from within your code. Bindings are optional and a function can have multiple input and output bindings.
  • #8: Authorization Types Anonymous Function Admin – Host Keys -> _master OAuth Providers: Azure Active Directory, Facebook, Google, Twitter, and Microsoft Account
  • #9: Multiple Azure functions as a Single API Surface
  • #11: Avoid long running functions Default 5 minutes, Max 10 minutes Cross function communication Use storage queues for cross function communication Write functions to be stateless Functions should be stateless and idempotent if possible Explain: Idempotent Write defensive functions Query for 10,000 rows in a db Create a queue message for each of those rows to process further down the line What if breaks at 5000 Answer: Track items in a set that you’ve completed. Use async code but avoid blocking calls Avoid getting Result