Azure Functions Intro
Azure Functions Intro
Shahed Chowdhuri
Microsoft Corporation
@shahedC
WakeUpAndCode.com
Intro
What’s with the Cloud?
Hosting models
On Premises Infrastructure Platform Software
(as a Service) (as a Service) (as a Service)
You manage
Applications Applications Applications Applications
management by vendor
Scale, resilience and
Middleware Middleware Middleware Middleware
management by vendor
Scale, resilience and
O/S O/S O/S O/S
Managed by vendor
Virtualization Virtualization Virtualization Virtualization
You manage
Applications Applications Applications Applications Applications
resilient & manage
You scale, make resilient and manage
management by vendor
Scale, resilience and
Middleware Middleware Middleware Middleware Middleware
Managed by vendor
Virtualization Virtualization Virtualization Virtualization Virtualization
Source: https://myignite.techcommunity.microsoft.com/sessions/65889
Full integration with Azure ecosystem
Functions is the center piece of the Serverless platform
Development Platform
Integrated
DevOps
Manage all events that can Execute your code based Design workflows and
Local trigger code or logic on events you specify orchestrate processes
development
Monitoring
Database Storage Analytics Intelligence Security IoT
Visual debug
history
Functions 2.0 – What’s New
VS Code
CLI
Portal
Deployment Options
Visual Studio File | New Project
Azure Portal Function App
Boost development efficiency
Use triggers to define how functions are invoked Connect to data with input and output bindings
Avoid hardcoding with preconfigured JSON files Bind to Azure solutions and third-party services
Triggers Build serverless APIs using HTTP triggers Bindings Use HTTP bindings in tandem with HTTP triggers
Define one API surface for multiple function apps Debug C# and JavaScript functions locally
Create endpoints as reverse proxies to other APIs Use debugging tools in Azure portal, VS, and VS Code
Local
Proxies Condition proxies to use variables debugging
Save time with built-in DevOps Integrate with Azure Application Insights
Deploy functions using App Service for CI Get near real-time details about function apps
CI/CD Leverage Microsoft, partner services for CD Monitoring See metrics around failures, executions, etc.
Sending Emails with SendGrid
https://sendgrid.com/docs/for-developers/sending-email/v3-csharp-code-example
Functions Hosting Models
Serverless Serverless Functions Kubernetes Open Source IoT On Prem
Functions Linux Functions Containers Functions Hosting Functions Functions
Application
Delivery
Execution
Isolation
Infrastructure
Operating
System