SlideShare a Scribd company logo
Callon Campbell
Solutions Architect | Developer | Microsoft MVP
Cloud Mavericks Inc.
Developing scalable enterprise
serverless applications with
.NET
Microsoft Azure
Callon Campbell
Solution Architect | Developer
Microsoft MVP in Azure
He/him/his
Speaker introduction
• 20 years enterprise development with Microsoft technologies – .NET, Azure,
Web, Desktop, SQL, and Mobile
• Blogging at https://theflyingmaverick.com
• Speaker at community events and meetups
• Co-creator of ReflectInsight, a live .NET log viewer
Microsoft Azure
Agenda
•Goals of serverless
•Adopting serverless and cloud native for your
application architecture
•Building for scale, high availability and resiliency
•Real world example – code and demos
•Q&A
3
Microsoft Azure
The goals of “serverless”
Microsoft Azure
Serverless
Full abstraction of servers
Instant scale
Pay-per-use
Microsoft Azure
Microsoft Azure
Leader in Functions-as-a-Service
platform
Forrester has named Microsoft as a leader in the inaugural
report, The Forrester New Wave™: Function-As-A-Service
Platforms, Q1 2020 based on their evaluation of Azure Functions
and integrated development tooling.
“robust programming model and integration capabilities”
"engineering and support teams as key to their success”
Report:
https://reprints.forrester.com/#/assets/2/108/RES155938/reports
Microsoft Azure
Full abstraction of
servers
Instant scale
Pay-per-use
Serverless for the enterprise
Development process flexibility
Secure and compliant
Enterprise-level scale with control
Advanced observability
Hybrid and multi-cloud
Microsoft Azure
Adopting serverless and cloud
native
Microsoft Azure
Azure serverless ecosystem
Event driven serverless offerings…
Microsoft Azure
Azure serverless ecosystem
Microsoft Azure
Azure Functions
Microsoft Azure
PlatformApplicationdeliveryOperatingsystem
●●● ●●●
●●●
+
https://github.com/azure/azure-functions-host
(+other repos)
Azure Functions
host runtime
Azure Functions
Core Tools
Azure Functions
base Docker image
Azure Functions
.NET Docker image
Azure Functions
Node Docker image
●●●
Functions everywhere
Microsoft Azure
Scale and latency
Microsoft Azure
Cold-starts
• When choosing the ‘Consumption’ plan, you will have elastic
scale but at the cost of cold starts.
• A cold-start is a small amount of time needed to warm up the
resources and execute your functions. Consumption plan runs
on a shared environment and resources need to be allocated.
• Cold-start could take 1-3 seconds.
15
Microsoft Azure
Premium Functions
• Avoid cold-start with perpetually warm instances
• Dynamically scale as needed
• Consistent performance
• Network isolation, VNet connectivity
• Long running execution (60min guaranteed)
• Better predictable pricing
16
Microsoft Azure
Premium Functions recap
Powerful hardware
Elastic scale with control
Advanced networking options
Reserved instances
Microsoft Azure
Running healthy apps in the
cloud
Microsoft Azure
Use multiple instances & deploy to
multiple regions
19
Multiple instances:
• Azure Functions provides the means to automatically scale when needed
• Allocate minimum instances in the Scale out (App Service Plan) blade
• Set number of pre-warmed instances
Deploy to multiple regions:
• Leverage Azure Front Door or Traffic Manager to intercept traffic before it hits your site
• Helps with routing and distribution between your instances and regions
• Route incoming requests based on the customer’s geography
Microsoft Azure
Leverage deployment slots
20
Why use slots?
• Different environments for different
purposes – test your changes
• Prewarming
• Easy fallbacks
How are functions affected by swapping slots?
• Traffic redirection is seamless; no requests
are dropped because of a swap.
• If a function is running during a swap,
execution continues, and the next triggers
are routed to the swapped app instance.
https://docs.microsoft.com/en-us/azure/azure-functions/functions-deployment-slots
Microsoft Azure
Cosmos DB
21
SQL-API
• Write scalability around the
world
• Low latency (<10ms P99 for 1kb
document) writes around the
world
• 99.999% High Availability around
the world
• Well-defined consistency models
• Automatic conflict management
Microsoft Azure
Storage (RS-GRS)
22
READ-ACCESS GEO-REDUNDANT STORAGE
Redundancy in the primary region
• Locally redundant storage (LRS) copies your data synchronously three times within a single
physical location in the primary region.
• Zone-redundant storage (ZRS) copies your data synchronously across three Azure availability
zones in the primary region.
Redundancy in a secondary region
• Geo-redundant storage (with GRS or GZRS) replicates your data to another physical location
in the secondary region to protect against regional outages.
• Design your applications for read access to the secondary region.
Microsoft Azure
Enable Application Insights
23
Application map
Live metrics stream
Search
Failures
Performance profiling
Track dependencies
Microsoft Azure
On-prem
Real world
sample
Azure Function app to integrate
into Twilio calls and messaging
platform.
Global scale, availability, resiliency.
Secure access to on-prem
resources.
24
AzureTwilio
Calls
Messages
Caller
Recipient
Microsoft Azure
On-prem
25
AzureTwilio
Calls
Messages
Caller
Recipient
Hybrid
Connection
Manager
SQL Server
Traffic
Manager
Data Factory
(ETL pipeline)
Cosmos DB
SQL API
Logic App
App Configuration
MediaFile
StartCall
PostCall
Blob
Storage
Queue
Storage
Hybrid Connection
ProcessCall
PostCall
Orchestrator
API
Management
Call Details
Microsoft Azure
Azure Traffic Manager
Azure - West US 2
Azure - Global
Managed Service
Azure - East US 2
http://tm-enterpriseserverless-01.trafficmanager.net/api/startcall
27
DNS-BASED LOAD BALANCING
• Flexible routing options
• Priority, performance, geographic,
weighted round-robin, subnet, and
multi-value
• Reduce application downtime
• Improve app performance and
content delivery
• Distribute user traffic over multiple
locations
• Use with your on-premises
datacenter
• Geographic fencing of your
application users
Demos
Start coding
Microsoft Azure
Demo notes
• Twilio test call and SMS
• Premium Function
• Warmed instances
• Deployment slots
• Cosmos DB geo replication + multi-master + Autoscale
• Storage (RS-GRS)
• Configure for secondary URL
• Traffic Manager
• App Configuration
29
Microsoft Azure
Developer productivity
Microsoft Azure
Tooling
Develop and test locally and disconnected from Azure
using:
• Visual Studio and/or Visual Studio Code
• Cosmos DB Emulator
• Microsoft Azure Storage Emulator
• Microsoft Azure Storage Explorer
• .NET Core 3.1, Function runtime v3, Cosmos DB SQL API
31
Microsoft Azure
Inner and outer loop development
Inner Loop
Source
Control
Build and
Test (CI)
Deploy
(CD)
Run
(Prod)
Monitoring
&
Diagnostics
Code,
Run,
Debug
Outer Loop
Microsoft Azure
Getting code to the cloud
Direct publish App Service SCM (Kudu) CI/CD tools
“right click publish”
CD CD
CI
Check-in Check-in
Microsoft Azure
Operations
Using a combination of Event Grid and Logic Apps
•Event Grid listing to changes to storage account
and triggers a Logic App to synchronize media files
across regions.
•Logic App monitors Poison queue in storage and
reprocesses.
34
Microsoft Azure
Logic App workflows
35
Demos
Start coding
Microsoft Azure
Demo notes
•Develop and debug locally
•Azure Pipelines
• Build
• deploy
•Monitoring
37
Microsoft Azure
Wrapping it up
Microsoft Azure
Your applications could
benefit from serverless
today.
Microsoft Azure
Wrap-up
Serverless is the next big thing for enterprise. Pick what
works for you
Serverless is more than just compute, functions, and app
development
Productivity does not preclude enterprise capability
Microsoft Azure
Resources
Session Materials on GitHub
Session Resources
https://github.com/calloncampbell/Enterprise-Serverless-Demo/
All in one resource:
https://github.com/calloncampbell/Enterprise-Serverless-Demo/blob/master/RESOURCES.md
Get Certified
Microsoft Azure
https://LinkedIn.com/in/CallonCampbell
@flying_maverick
Callon@CloudMavericks.ca
https://GitHub.com/CallonCampbell
Let’s connectLet’s connect
Microsoft Azure
Thank You

More Related Content

PPTX
Azure App Service Deep Dive
PPTX
App Modernization with Microsoft Azure
PPTX
Serverless Computing in Azure
PPTX
Azure serverless architectures
PDF
Migrate to Microsoft Azure with Confidence
PDF
Azure Application insights - An Introduction
PPTX
Introduction to Azure Functions
PPTX
Azure Site Recovery Bootcamp
Azure App Service Deep Dive
App Modernization with Microsoft Azure
Serverless Computing in Azure
Azure serverless architectures
Migrate to Microsoft Azure with Confidence
Azure Application insights - An Introduction
Introduction to Azure Functions
Azure Site Recovery Bootcamp

What's hot (20)

PPTX
Introduction to Microsoft Azure
PPTX
Serverless Application Development with Azure
PDF
Az 104 session 2 implement and manage azure webapps and container
PPTX
Azure DevOps in Action
PPTX
Azure DevOps
PPTX
PPTX
Power of the cloud - Introduction to azure security
PPTX
Building Azure Logic Apps
PDF
Welcome to Azure Devops
PPTX
Azure serverless computing
PDF
Az 104 session 4: azure storage
PPTX
Azure Logic Apps
PPTX
Microsoft Azure Technical Overview
PDF
Azure fundamentals
PPTX
Azure Network Security Groups (NSG)
PPTX
Introducing to Azure Functions
PPTX
App Modernisation with Microsoft Azure
PDF
Azure Monitoring Overview
PPTX
Azure Cloud PPT
PPTX
Introduction to Azure monitor
Introduction to Microsoft Azure
Serverless Application Development with Azure
Az 104 session 2 implement and manage azure webapps and container
Azure DevOps in Action
Azure DevOps
Power of the cloud - Introduction to azure security
Building Azure Logic Apps
Welcome to Azure Devops
Azure serverless computing
Az 104 session 4: azure storage
Azure Logic Apps
Microsoft Azure Technical Overview
Azure fundamentals
Azure Network Security Groups (NSG)
Introducing to Azure Functions
App Modernisation with Microsoft Azure
Azure Monitoring Overview
Azure Cloud PPT
Introduction to Azure monitor
Ad

Similar to Developing scalable enterprise serverless applications on azure with .net (20)

PDF
Building scalable applications using serverless on the cloud
PPTX
Azure functions: Build apps faster with serverless architecture (March 2018)
PPTX
For loop summit - cheating the developer experience
PDF
Application modernization with azure PaaS and FaaS
PPTX
Leverage your application architecture with azure services
PPTX
Developing Solutions for Azure - Best Practices
PPTX
Introduction to serverless compute with azure functions
PPTX
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
PPTX
Serverless iPaaS in Azure (IDU)
PDF
Developing Applications for the Cloud on the Microsoft Windows Azure Platform...
PPTX
Mobile Services for Windows Azure
PPTX
Building Scalable Applications with Microsoft Azure
PDF
Azure from Rookie to DevStart
PPTX
App modernization in 2020 and beyond. Radu Vunvulea
PPTX
Microsoft Azure Platform-as-a-Service (PaaS)
PPTX
Introduction to Microsoft Azure
PDF
AZ900-AzureFundamentals-part-5.pdf
PPTX
Azure: un parque de diversiones en la nube para el desarrollador moderno by A...
PPTX
ArchitectNow - Designing Cloud-Native apps in Microsoft Azure
PDF
Bringing Serverless into the Enterprise (Global Azure Virtual 2020)
Building scalable applications using serverless on the cloud
Azure functions: Build apps faster with serverless architecture (March 2018)
For loop summit - cheating the developer experience
Application modernization with azure PaaS and FaaS
Leverage your application architecture with azure services
Developing Solutions for Azure - Best Practices
Introduction to serverless compute with azure functions
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Serverless iPaaS in Azure (IDU)
Developing Applications for the Cloud on the Microsoft Windows Azure Platform...
Mobile Services for Windows Azure
Building Scalable Applications with Microsoft Azure
Azure from Rookie to DevStart
App modernization in 2020 and beyond. Radu Vunvulea
Microsoft Azure Platform-as-a-Service (PaaS)
Introduction to Microsoft Azure
AZ900-AzureFundamentals-part-5.pdf
Azure: un parque de diversiones en la nube para el desarrollador moderno by A...
ArchitectNow - Designing Cloud-Native apps in Microsoft Azure
Bringing Serverless into the Enterprise (Global Azure Virtual 2020)
Ad

More from Callon Campbell (20)

PPTX
Navigating API Hurdles - The Azure API Center Advantage
PPTX
Elevating AI Workflows: Integrating Azure API Management and Azure Functions ...
PPTX
Migrating to the Isolated worker process in Azure Functions .pptx
PPTX
Turbocharged Data - Leveraging Azure Data Explorer for Real-Time Insights fro...
PPTX
Discovering Insights - Azure Data Explorer Unleashed
PPTX
Mastering Azure Durable Functions - Building Resilient and Scalable Workflows
PPTX
Ho-Ho-Hold onto Your Hats! Real-Time Data Magic from Santa’s Sleigh with Azur...
PPTX
Global Azure 2023 - Building Multitenant SaaS Applications in Azure
PPTX
Getting started with Azure Functions in Isolated Mode
PPTX
Azure Durable Functions: The Festive Magic of Scalable Serverless Workflows f...
PPTX
Global Azure 2024 - On-Premises to Azure Cloud: .NET Web App Journey
PPTX
Festive Tech Calendar 2021
PPTX
Festive Tech Calendar 2022
PPTX
BestOfBuild2021 - Azure Functions (15min).pptx
PPTX
Whats new in Azure Functions and .NET 6.pptx
PPTX
Global Azure 2022 - Architecting Modern Serverless APIs with Azure Functions ...
PPTX
Building stateful serverless orchestrations with Azure Durable Azure Function...
PPTX
Exposing services with Azure API Management
PDF
Build embedded and IoT solutions with Microsoft Windows IoT Core (BRK30077)
PPTX
Centralized configuration with azure app configuration
Navigating API Hurdles - The Azure API Center Advantage
Elevating AI Workflows: Integrating Azure API Management and Azure Functions ...
Migrating to the Isolated worker process in Azure Functions .pptx
Turbocharged Data - Leveraging Azure Data Explorer for Real-Time Insights fro...
Discovering Insights - Azure Data Explorer Unleashed
Mastering Azure Durable Functions - Building Resilient and Scalable Workflows
Ho-Ho-Hold onto Your Hats! Real-Time Data Magic from Santa’s Sleigh with Azur...
Global Azure 2023 - Building Multitenant SaaS Applications in Azure
Getting started with Azure Functions in Isolated Mode
Azure Durable Functions: The Festive Magic of Scalable Serverless Workflows f...
Global Azure 2024 - On-Premises to Azure Cloud: .NET Web App Journey
Festive Tech Calendar 2021
Festive Tech Calendar 2022
BestOfBuild2021 - Azure Functions (15min).pptx
Whats new in Azure Functions and .NET 6.pptx
Global Azure 2022 - Architecting Modern Serverless APIs with Azure Functions ...
Building stateful serverless orchestrations with Azure Durable Azure Function...
Exposing services with Azure API Management
Build embedded and IoT solutions with Microsoft Windows IoT Core (BRK30077)
Centralized configuration with azure app configuration

Recently uploaded (20)

PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Machine learning based COVID-19 study performance prediction
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
Big Data Technologies - Introduction.pptx
PDF
KodekX | Application Modernization Development
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Approach and Philosophy of On baking technology
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Encapsulation theory and applications.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Programs and apps: productivity, graphics, security and other tools
Encapsulation_ Review paper, used for researhc scholars
Machine learning based COVID-19 study performance prediction
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Chapter 3 Spatial Domain Image Processing.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Building Integrated photovoltaic BIPV_UPV.pdf
Network Security Unit 5.pdf for BCA BBA.
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Big Data Technologies - Introduction.pptx
KodekX | Application Modernization Development
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Approach and Philosophy of On baking technology
Diabetes mellitus diagnosis method based random forest with bat algorithm
Spectral efficient network and resource selection model in 5G networks
Review of recent advances in non-invasive hemoglobin estimation
Unlocking AI with Model Context Protocol (MCP)
Encapsulation theory and applications.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Programs and apps: productivity, graphics, security and other tools

Developing scalable enterprise serverless applications on azure with .net