Developing Serverless
Applications with Azure Functions
Developing serverless applications with azure functions
事件驅動式
擴展
次秒計費伺服器抽象化
Developing serverless applications with azure functions
複雜框架
微功能獨立於用戶
端應用程式
之外
深入用戶端
應用程式內
單體式應用
鬆散耦合式
元件
聚焦於
商業邏輯
快速入門
為你管理
Developing serverless applications with azure functions
• 語言與框架
• 優越的 DevOps
• 自助服務
• 其他相關
應用
Web Apps Mobile Apps API Apps Functions
eCommerce Digital Global Presence LOB API / Services / ISVCustom Apps
應用服務
• 無極限/自動
• 作業系統與框架
• 負載平衡
• 其他相關
• 企業級 SLA
• 安全與法規符合
• 地端連結
• 其他相關
Azure Functions (函式)
以無伺服器之程式處理事件
使組合雲端應用變得容易
可使用 C#, Node.js, F#, Python, PHP, Batch 與更多種語言開發函式
容易跨服務排程事件驅動任務
以 HTTP API 終端點暴露函式
基於客戶需求擴展函式
容易與 Logic App 整合
Azure
Functions
Developing serverless applications with azure functions
Developing serverless applications with azure functions
• 命令是任何使狀態發生變化的
方法
• 查詢是返回值的任何方法
Developing serverless applications with azure functions
宜
宜
宜
1
Developing serverless applications with azure functions
Developing serverless applications with azure functions
http://[fxapp].azurewebsites.net/api
/[fx-name]
Developing serverless applications with azure functions
Developing serverless applications with azure functions
Developing serverless applications with azure functions
npm install -g azure-functions-cli
Azure Functions CLI:
https://github.com/Azure/azure-functions-cli
Developing serverless applications with azure functions
Developing serverless applications with azure functions
Developing serverless applications with azure functions
Developing serverless applications with azure functions
Developing serverless applications with azure functions
Developing serverless applications with azure functions
Developing serverless applications with azure functions
Type Service Input Type Output Type
Schedule Functions TimerInfo (None)
HTTP
(REST/WebHook)
Functions HttpRequestMessage HttpResponseMessage
Blob Storage
Blob
object (JSON deserialize)
string (for text blob data)
TextReader
Stream
ICloudBlob
CloudBlockBlob
CloudPageBlob
out object (JSON
serialize)
out string (for text blob)
TextWriter
Stream
CloudBlobStream
ICloudBlob
CloudBlockBlob
CloudPageBlob
Type Service Input Type Output Type
Event EventHub string out string
Queue Storage Queue object (JSON deserialize)
string
byte[]
CloudQueueMessage
out object (JSON serialize)
out string
out byte[]
out CloudQueueMessage
out ICollector<T>
Tables Storage Table 有實作 ITableEntity 的任何型別
IQueryable<T>
有實作 ITableEntity 的任何型別
ICollector<T> (輸出多筆資料)
IAsyncCollector<T>
CloudTable (有使用 Azure Storage SDK 時可用)
Tables Mobile Apps Table JObject out object (JSON serialize)
NoSQL DB DocumentDB dynamic out T
out string
TextWriter
Stream
CloudBlobStream
ICloudBlob
CloudBlockBlob
CloudPageBlob
Type Service Input Type Output Type
Push Notifications Notification Hub (None) IAsyncCollector<Notification>
Service Bus Service Bus string (字串訊息)
byte[] (二進位訊息)
object (JSON deserialize)
BrokeredMessage
out T
out string
out byte[]
out BrokeredMessage
Mail SendGrid (None) out Mail
SMS Twilio (None) out SMSMessage
File (Preview) External File object (JSON deserialize)
string (for text blob data)
TextReader
Stream
ICloudBlob
CloudBlockBlob
CloudPageBlob
out object (JSON serialize)
out string (for text blob)
TextWriter
Stream
CloudBlobStream
ICloudBlob
CloudBlockBlob
CloudPageBlob
Developing serverless applications with azure functions
Developing serverless applications with azure functions
AzureFunctions
Developing serverless applications with azure functions
Developing serverless applications with azure functions
Developing serverless applications with azure functions
https://azure.microsoft.com/zh-tw/pricing/details/functions/
WebJobs SDK == 較多自由度-> 較多工作
Azure Functions == 較少責任-> 較少工作
Developing serverless applications with azure functions
• •
• •
1) Trigger
7) Develop Locally
3) Develop 4) Execute
6) Monitor and Improve
2) Input Binding 5) Output Binding
Web
Hooks
Azure Services Azure Services
App Services
Hosting Plans
Azure Services
Azure
Functions
Developing serverless applications with azure functions
Store VoteMessage Text
Decode to
JSON
Process
Vote
Twillio
Logic Apps
Functions
Swagger API
App
Fetch & Store
Azure Feature
List
Developing serverless applications with azure functions
Every 15 minutes 潔淨資料表格搜尋與清除無效資料
File added to
Blob Storage
Transform CSV to data rows
CSV
Power BI
Chart graphic
Excel file saved
to OneDrive
Microsoft Graph API analyzes content Creates new sheets
with charts
Loaded web page
calls WebHook
Completed pageCreate ad based on user p rofile
Photo taken and
WebHook called Stores in blob storage Produces scaled images
Millions of devices feed
into Stream Analytics
Store data in
SQL Online
Transform to structured data
? ...
Cortana Analytics answers questionsMessage sent
to Chatbot
Chatbot sends
response
https://github.com/Azure/Azure-Functions
https://blogs.msdn.microsoft.com/martinkearn/2016/05/06/smart-image-re-sizing-with-
azure-functions-and-cognitive-services/

More Related Content

PPTX
Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)
PPTX
Microsoft Azure IoT 手把手實作 @ K.NET by Maduka (2017-8-12)
PDF
Experiences using CouchDB inside Microsoft's Azure team
PDF
Azure Cloud Dev Camp - App Platform
PPTX
Azure Functions - Introduction
PDF
Azure Functions
PPTX
Azure Web Application Fundamentals
PPTX
Taking It To The Cloud Version 2
Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)
Microsoft Azure IoT 手把手實作 @ K.NET by Maduka (2017-8-12)
Experiences using CouchDB inside Microsoft's Azure team
Azure Cloud Dev Camp - App Platform
Azure Functions - Introduction
Azure Functions
Azure Web Application Fundamentals
Taking It To The Cloud Version 2

What's hot (20)

PPTX
Drupal DevOps on Microsoft Azure Websites
PDF
Андрей Бойко - Azure Web App для PHP и Node.Js разработчиков
PDF
Going serverless with azure functions
PPTX
Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et...
PPTX
2011.05.31 super mondays-servicebus-demo
PPTX
Serverless in Azure with Functions
PPTX
TechEvent Infrastructure as Code on Azure
PPTX
Azure Functions Overview
PPTX
Microservices and Azure App Services
PDF
Azure for AWS & GCP Pros: Which Azure services to use?
PPTX
Intro to Azure Static Web Apps
PPTX
Azure Update, July 2016
PPTX
Durable Azure Functions
PPTX
Infrastructure as Code on Azure - NET Conf AR v2018
PDF
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...
PPTX
Toyko azure meetup # 1 azure paa s overview
PPTX
Going Serverless with Azure Functions
PDF
Sitecore hosted on azure
PPTX
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
PPTX
IaaS with ARM templates for Azure
Drupal DevOps on Microsoft Azure Websites
Андрей Бойко - Azure Web App для PHP и Node.Js разработчиков
Going serverless with azure functions
Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et...
2011.05.31 super mondays-servicebus-demo
Serverless in Azure with Functions
TechEvent Infrastructure as Code on Azure
Azure Functions Overview
Microservices and Azure App Services
Azure for AWS & GCP Pros: Which Azure services to use?
Intro to Azure Static Web Apps
Azure Update, July 2016
Durable Azure Functions
Infrastructure as Code on Azure - NET Conf AR v2018
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...
Toyko azure meetup # 1 azure paa s overview
Going Serverless with Azure Functions
Sitecore hosted on azure
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
IaaS with ARM templates for Azure
Ad

Similar to Developing serverless applications with azure functions (20)

PPTX
Go Serverless with Cosmos DB, Azure Functions and Blazor
PDF
Azure Serverless Toolbox
PPTX
Azure Functions e Azure Logics Apps: i tuoi coltellini svizzeri per gestire i...
PDF
Serverless API with Azure Functions
PDF
Logic Apps and Azure Functions for Serverless Integration (2017-03-25)
PDF
Faites évoluer votre accès aux données avec MongoDB Stitch
PDF
Azure App Services для создания бэкенда мобильных приложений. Parse Open Sour...
PDF
DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben L...
PDF
Getting Started with Serverless Architectures using Azure Functions
PPTX
Understanding The Azure Platform March 2010
PDF
Chris Anderson and Yochay Kiriaty - Serverless Patterns with Azure Functions
PPTX
A Comparison of AWS and Azure - Part 1
PPTX
Cloud Powered Mobile Apps with Azure
PPTX
Hybrid Integration with SAP
PPTX
Azure Functions VS AWS Lambda: overview and comparison
PPTX
2015-12-02 - WebCamp - Microsoft Azure Logic Apps
PPTX
Windows Azure
PPTX
Azure integration services from the IT Professional perspective
PPTX
WAS vs JBoss, WebLogic, Tomcat (year 2015)
PPTX
Serverless on Azure with Functions
Go Serverless with Cosmos DB, Azure Functions and Blazor
Azure Serverless Toolbox
Azure Functions e Azure Logics Apps: i tuoi coltellini svizzeri per gestire i...
Serverless API with Azure Functions
Logic Apps and Azure Functions for Serverless Integration (2017-03-25)
Faites évoluer votre accès aux données avec MongoDB Stitch
Azure App Services для создания бэкенда мобильных приложений. Parse Open Sour...
DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben L...
Getting Started with Serverless Architectures using Azure Functions
Understanding The Azure Platform March 2010
Chris Anderson and Yochay Kiriaty - Serverless Patterns with Azure Functions
A Comparison of AWS and Azure - Part 1
Cloud Powered Mobile Apps with Azure
Hybrid Integration with SAP
Azure Functions VS AWS Lambda: overview and comparison
2015-12-02 - WebCamp - Microsoft Azure Logic Apps
Windows Azure
Azure integration services from the IT Professional perspective
WAS vs JBoss, WebLogic, Tomcat (year 2015)
Serverless on Azure with Functions
Ad

More from Jeff Chu (20)

PPTX
.NET Conf 2019 高雄場 - .NET Core 3.0
PPTX
Developing Serverless application with Microsoft Azure and Cognitive Services
PPTX
.NET Innovations and Improvements
PPTX
利用微軟雲端平台打造完整 IoT 服務鍊 (maduka)
PPTX
Connect() Mini 2016
PPTX
Windows 與 Azure 的容器旅程 @ Ignite Mini 2016
PPTX
Windows 與 Azure 的容器旅程 @ Skilltree Day
PPTX
領域驅動設計 (Domain Driven Design)
PPTX
物件導向設計原則:SOLID + DI
PDF
例外處理實務
PPTX
ASP.NET 5 快速入門 (Getting Started ASP.NET 5)
PPTX
Machine Learning, Big Data, Insights
PPTX
Global Azure Bootcamp 2015 Taipei: Planning and Migrating your Application fr...
PPTX
Cloud computing for manufacturing
PPTX
ASP.NET 開發人員不可不知的 IIS (IIS for ASP.NET Developers)
PPTX
Microsoft Azure 新功能導覽 @ Build 2014
PPTX
Microsoft Azure 概觀 (2014-4-2 雲端達人班)
PPTX
Microsoft Azure 虛擬機器與虛擬網路 (2014-4-2 雲端達人班)
PPTX
GWAB 2014 Taipei: 由本地移轉至雲端 - 構思與實踐
PDF
從雲端看資訊科技的未來 (2014-03-26 國立嘉義大學資管系週會演講)
.NET Conf 2019 高雄場 - .NET Core 3.0
Developing Serverless application with Microsoft Azure and Cognitive Services
.NET Innovations and Improvements
利用微軟雲端平台打造完整 IoT 服務鍊 (maduka)
Connect() Mini 2016
Windows 與 Azure 的容器旅程 @ Ignite Mini 2016
Windows 與 Azure 的容器旅程 @ Skilltree Day
領域驅動設計 (Domain Driven Design)
物件導向設計原則:SOLID + DI
例外處理實務
ASP.NET 5 快速入門 (Getting Started ASP.NET 5)
Machine Learning, Big Data, Insights
Global Azure Bootcamp 2015 Taipei: Planning and Migrating your Application fr...
Cloud computing for manufacturing
ASP.NET 開發人員不可不知的 IIS (IIS for ASP.NET Developers)
Microsoft Azure 新功能導覽 @ Build 2014
Microsoft Azure 概觀 (2014-4-2 雲端達人班)
Microsoft Azure 虛擬機器與虛擬網路 (2014-4-2 雲端達人班)
GWAB 2014 Taipei: 由本地移轉至雲端 - 構思與實踐
從雲端看資訊科技的未來 (2014-03-26 國立嘉義大學資管系週會演講)

Recently uploaded (20)

PDF
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
PDF
Data Virtualization in Action: Scaling APIs and Apps with FME
PPTX
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
PPTX
Microsoft User Copilot Training Slide Deck
PDF
Comparative analysis of machine learning models for fake news detection in so...
PDF
The influence of sentiment analysis in enhancing early warning system model f...
PDF
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
PDF
Co-training pseudo-labeling for text classification with support vector machi...
PDF
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
PDF
Consumable AI The What, Why & How for Small Teams.pdf
PPTX
Configure Apache Mutual Authentication
PDF
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
PDF
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
PPTX
Training Program for knowledge in solar cell and solar industry
PDF
Lung cancer patients survival prediction using outlier detection and optimize...
PDF
Advancing precision in air quality forecasting through machine learning integ...
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PPTX
Custom Battery Pack Design Considerations for Performance and Safety
PDF
NewMind AI Weekly Chronicles – August ’25 Week IV
PDF
Auditboard EB SOX Playbook 2023 edition.
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
Data Virtualization in Action: Scaling APIs and Apps with FME
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
Microsoft User Copilot Training Slide Deck
Comparative analysis of machine learning models for fake news detection in so...
The influence of sentiment analysis in enhancing early warning system model f...
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
Co-training pseudo-labeling for text classification with support vector machi...
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
Consumable AI The What, Why & How for Small Teams.pdf
Configure Apache Mutual Authentication
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
Training Program for knowledge in solar cell and solar industry
Lung cancer patients survival prediction using outlier detection and optimize...
Advancing precision in air quality forecasting through machine learning integ...
Taming the Chaos: How to Turn Unstructured Data into Decisions
Custom Battery Pack Design Considerations for Performance and Safety
NewMind AI Weekly Chronicles – August ’25 Week IV
Auditboard EB SOX Playbook 2023 edition.

Developing serverless applications with azure functions

Editor's Notes

  • #43: This is the whole (top level) Dev Ops story where Dev build wounderful apps, using CI they mange their code, builds, and releases. Connecting to a repository, they can deploy to Azure Websites, build in the cloud, deploy to a slot to test and validate, swap into production, deployed across the globe as needed, monitor and get feedback, on which devs can make updates. Rinse and repeat
  • #44: Yochay This is a great opportunity to show Functions and talk/explain the differences  Bindings If we have time this can be a coding demo Talk to the scenario – show Contoso Moments? Create from template and show the end2end demo?  talk about bindings and integration  this
  • #45: Chris