SlideShare a Scribd company logo
¿Nanoservices?
¡Azure Functions!
Ramón Tomás / Robert Bermejo
Sogeti España,SLU
Robert Bermejo
.NET Architect & Mobile & Azure Practice Lead (Sogeti España,SLU)
Organizador meetup CATzure (@cat_zure)
www.robertbermejo.com
@robertbemejo
https://es.linkedin.com/in/robert-bermejo-blasco-75a73b2a
bermejoblasco@live.com
Ramón Tomás
Senior Developer & Cloud Specialist (Sogeti España,SLU)
@ramon_tomas84
https://www.linkedin.com/in/ramon-tomas-castella-63a23351
CATzure
• Roberto Grassi (@robyenbarcelona), Edin Kapić (@ekapic) y
Robert Bermejo (@robertbemejo)
• Azure lo es todo. WE LOVE CLOUD!
• Desarrollar.
• Componentes, servicios que existen.
• Compartir experiencias
• Comunidad abierta a todo el mundo.
• Contacto:
catzure@outlook.com
@CAT_zure
https://www.meetup.com/es-ES/CATzure/
Azure Functions
Create a “serverless”
event-driven
experience that
extends the existing
Azure App Service
platform by building
“nanoservices” that can
scale based on
demand
Supported Languages and Tools
Create functions in
JavaScript, C#, Python,
and PHP, as well as
scripting options such as
Bash, Batch, and
PowerShell, that can be
triggered by virtually
any event in Azure, 3rd
party services, or on
premise systems
Common Scenarios
Your App or
Service
Office
365
Office
Graph
Azure
Storage
Other
Functions
Legacy
Systems
Web
Services
• Timer-based processing
• Azure service event processing
• SaaS event processing
• Serverless web application
architectures
• Serverless mobile backends
• Real-time stream processing
• Real-time bot messaging
Function App Templates
Function App templates are
categorized into general areas of
Timer, Data Processing, and
Webhook & API
• BlobTrigger
• EventHubTrigger
• Generic webhook
• GitHub webhook
• HTTPTrigger
• QueueTrigger
• ServiceBusQueueTrigger
• ServiceBusTopicTrigger
• TimerTrigger
• Blank & Experimental
Timer Function Apps
• Run at explicitly specified intervals, like every day at 2:00 am
using CRON expressions, like “0 */5 * * * *“ (every 5 minutes)
• Can send information to other systems, but typically don’t
“return” information, only write to logs
• Great for redundant cleanup and data management
• Great for checking state of services
• Can be combined with other functions
Data Processing Function Apps
• Run when triggered by a data event, such as an item being
added to a queue or container
• Typically have in and out parameters
• Great for responding to CRUD events
• Great for performing CRUD events
• Great for moving content
• Access data across services
Webhook & API Function Apps
• Triggered by events in other services, like GitHub, Team
Foundation Services, Office 365, OneDrive, Microsoft
PowerApps
• Takes in a request and sends back a response
• Often mimic Web API and legacy web services flows
• Typically need CORS settings managed
• Best for exposing functionality to other apps and services
• Great for building Logic Apps
code
Anatomy of a Function
• A “Run” file that containing the
function code
• A “Function” file containing all
service and trigger bindings and
parameters
• A “Project” file containing project
assembly and NuGet package
references
• App Service settings, such as
connection strings and API keys
.NET Core and
Project references
Function
configuration
Executable code
Function Bindings
Type Service Trigger Input Output
Schedule Azure Functions ✔
HTTP (REST or webhook) Azure Functions ✔ ✔*
Blob Storage Azure Storage ✔ ✔ ✔
Events Azure Event Hubs ✔ ✔
Queues Azure Storage ✔ ✔
Tables Azure Storage ✔ ✔
Tables Azure Mobile Apps ✔ ✔
No-SQL DB Azure DocumentDB ✔ ✔
Push Notifications Azure Notification Hubs ✔
Bindings serve as the basis for all connections to and from a
function. Many bindings can be “bi-directional” as well.
Testing Functions
• Command-line tools
• 3rd party products such as
Postman and Swagger
• Direct web calls via cURL
• Nested functions
• Microsoft Azure Storage
Explorer
• Visual Studio Cloud
Explorer
Demo
Preguntas
CATzure Azure Functions

More Related Content

PDF
Creando tu primera aplicación con Angular 2, el nuevo súper framework de Google
PDF
Delivering Cloud-Native Data Pipelines with Kafka Connect on Kubernetes | Vik...
PDF
Serverless, oui mais pour quels usages ?
PPTX
Intelligent Cloud Conference 2018 - Automatically scaling Kubernetes pods bas...
PDF
Exploring Serverless Architectures: AWS Lambda
PPTX
Serverless Orchestration with Azure Durable Functions
PDF
Tracking Huge Files with Git LFS
PPTX
Serverless adventure tooling
Creando tu primera aplicación con Angular 2, el nuevo súper framework de Google
Delivering Cloud-Native Data Pipelines with Kafka Connect on Kubernetes | Vik...
Serverless, oui mais pour quels usages ?
Intelligent Cloud Conference 2018 - Automatically scaling Kubernetes pods bas...
Exploring Serverless Architectures: AWS Lambda
Serverless Orchestration with Azure Durable Functions
Tracking Huge Files with Git LFS
Serverless adventure tooling

What's hot (20)

PDF
Serverless microservices in the wild
PDF
CICD in the World of Serverless
PPTX
Azure Logic Apps
PPTX
GAB 2017 - Logic Apps and Azure Functions
PPTX
Introduction to Azure Functions - Tutorial
PDF
Algolia - Hosted Search API
PPTX
Xtending nintex workflow cloud w azure functions - xchange conference
PPTX
Icinga Camp Bangalore - Icinga integrations
PDF
Chris Anderson and Yochay Kiriaty - Serverless Patterns with Azure Functions
PPTX
Serverless Architecture - Azure Logic apps
PPTX
Azure Functions Real World Examples
PPTX
Serverless CQRS in Azure!
PDF
Algolia's Fury Road to a Worldwide API
PPTX
Global Azure Virtual - Application Autoscaling with KEDA
PPTX
PPTX
Using Azure Functions for Integration
PPTX
.net developer for Jupyter Notebook and Apache Spark and viceversa
PDF
"Hacking" JIRA and Confluence Cloud Part 2 - Build Your Own - Luke Kilpatrick
PDF
Serverless Logging Architecture
PPTX
Icinga Camp Bangalore - Icinga2 and Salt Stack at SnapDeal
Serverless microservices in the wild
CICD in the World of Serverless
Azure Logic Apps
GAB 2017 - Logic Apps and Azure Functions
Introduction to Azure Functions - Tutorial
Algolia - Hosted Search API
Xtending nintex workflow cloud w azure functions - xchange conference
Icinga Camp Bangalore - Icinga integrations
Chris Anderson and Yochay Kiriaty - Serverless Patterns with Azure Functions
Serverless Architecture - Azure Logic apps
Azure Functions Real World Examples
Serverless CQRS in Azure!
Algolia's Fury Road to a Worldwide API
Global Azure Virtual - Application Autoscaling with KEDA
Using Azure Functions for Integration
.net developer for Jupyter Notebook and Apache Spark and viceversa
"Hacking" JIRA and Confluence Cloud Part 2 - Build Your Own - Luke Kilpatrick
Serverless Logging Architecture
Icinga Camp Bangalore - Icinga2 and Salt Stack at SnapDeal
Ad

Viewers also liked (8)

PPTX
Типовой корпоративный портал для в2в компаний
PPTX
Оптимизируем штат как из 5 менеджеров оставить одного
PDF
Рабочее пространство нашего времени
PPTX
Extending Authentication and Authorization
PDF
Planes de ejecucion 1
PPTX
Como crear add ins hibridas para share point y office
PPTX
BERR EXHAUST SILENCERS
Типовой корпоративный портал для в2в компаний
Оптимизируем штат как из 5 менеджеров оставить одного
Рабочее пространство нашего времени
Extending Authentication and Authorization
Planes de ejecucion 1
Como crear add ins hibridas para share point y office
BERR EXHAUST SILENCERS
Ad

Similar to CATzure Azure Functions (20)

PPTX
Azure Functions & Serverless Computing
PPTX
Azure full
PDF
Azure functions
PPTX
Going Serverless with Azure Functions #1 - Introduction to Azure Functions
PDF
Download full ebook of Azure Functions With C Marto Torres instant download pdf
PPTX
Azure Functions.pptx
PPTX
Azure Functions - Introduction
PPTX
Serverless with Azure Functions
PPTX
Introduction to Azure Functions
PPTX
Scalable APIs with Azure Functions
PPTX
Azure Functions 101
PDF
Azure Functions
PDF
Azure web functions little bites of services
PPTX
Azure Functions @ global azure day 2017
PDF
Serverless API with Azure Functions
PPTX
Azure functions: from a function to a whole application in 60 minutes
PPTX
Azure functions serverless
PPTX
Azure Functions in Action #CodePaLOUsa
PPTX
Durable Azure Functions
PPTX
Azure Functions. Hasta la Vista Server...
Azure Functions & Serverless Computing
Azure full
Azure functions
Going Serverless with Azure Functions #1 - Introduction to Azure Functions
Download full ebook of Azure Functions With C Marto Torres instant download pdf
Azure Functions.pptx
Azure Functions - Introduction
Serverless with Azure Functions
Introduction to Azure Functions
Scalable APIs with Azure Functions
Azure Functions 101
Azure Functions
Azure web functions little bites of services
Azure Functions @ global azure day 2017
Serverless API with Azure Functions
Azure functions: from a function to a whole application in 60 minutes
Azure functions serverless
Azure Functions in Action #CodePaLOUsa
Durable Azure Functions
Azure Functions. Hasta la Vista Server...

More from Robert Bermejo Blasco (11)

PPTX
Netcoreconf2020 vlc
PPTX
DotNetConf Madrid
PPTX
Azure durablefunctions
PPTX
Codemotion cosmosdb
PPTX
Codemotion cacheandolanube
PPTX
Spsbcn17 azure para office365 developers
PPTX
Gapand2017 rediscahe
PPTX
Catzure documentdb
PPTX
Azure mobile apps
PPTX
Spsbcn: Un Xarepoint en tu mochila v2.0
PPTX
Spsmad2016:Un SharePoint enla mochila
Netcoreconf2020 vlc
DotNetConf Madrid
Azure durablefunctions
Codemotion cosmosdb
Codemotion cacheandolanube
Spsbcn17 azure para office365 developers
Gapand2017 rediscahe
Catzure documentdb
Azure mobile apps
Spsbcn: Un Xarepoint en tu mochila v2.0
Spsmad2016:Un SharePoint enla mochila

Recently uploaded (20)

PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Empathic Computing: Creating Shared Understanding
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Spectroscopy.pptx food analysis technology
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Cloud computing and distributed systems.
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
KodekX | Application Modernization Development
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Understanding_Digital_Forensics_Presentation.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Empathic Computing: Creating Shared Understanding
20250228 LYD VKU AI Blended-Learning.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Unlocking AI with Model Context Protocol (MCP)
Spectral efficient network and resource selection model in 5G networks
Spectroscopy.pptx food analysis technology
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Chapter 3 Spatial Domain Image Processing.pdf
Review of recent advances in non-invasive hemoglobin estimation
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Cloud computing and distributed systems.
The Rise and Fall of 3GPP – Time for a Sabbatical?
Encapsulation_ Review paper, used for researhc scholars
MYSQL Presentation for SQL database connectivity
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
KodekX | Application Modernization Development
Per capita expenditure prediction using model stacking based on satellite ima...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Understanding_Digital_Forensics_Presentation.pptx

CATzure Azure Functions

  • 1. ¿Nanoservices? ¡Azure Functions! Ramón Tomás / Robert Bermejo Sogeti España,SLU
  • 2. Robert Bermejo .NET Architect & Mobile & Azure Practice Lead (Sogeti España,SLU) Organizador meetup CATzure (@cat_zure) www.robertbermejo.com @robertbemejo https://es.linkedin.com/in/robert-bermejo-blasco-75a73b2a bermejoblasco@live.com Ramón Tomás Senior Developer & Cloud Specialist (Sogeti España,SLU) @ramon_tomas84 https://www.linkedin.com/in/ramon-tomas-castella-63a23351
  • 3. CATzure • Roberto Grassi (@robyenbarcelona), Edin Kapić (@ekapic) y Robert Bermejo (@robertbemejo) • Azure lo es todo. WE LOVE CLOUD! • Desarrollar. • Componentes, servicios que existen. • Compartir experiencias • Comunidad abierta a todo el mundo. • Contacto: catzure@outlook.com @CAT_zure https://www.meetup.com/es-ES/CATzure/
  • 4. Azure Functions Create a “serverless” event-driven experience that extends the existing Azure App Service platform by building “nanoservices” that can scale based on demand
  • 5. Supported Languages and Tools Create functions in JavaScript, C#, Python, and PHP, as well as scripting options such as Bash, Batch, and PowerShell, that can be triggered by virtually any event in Azure, 3rd party services, or on premise systems
  • 6. Common Scenarios Your App or Service Office 365 Office Graph Azure Storage Other Functions Legacy Systems Web Services • Timer-based processing • Azure service event processing • SaaS event processing • Serverless web application architectures • Serverless mobile backends • Real-time stream processing • Real-time bot messaging
  • 7. Function App Templates Function App templates are categorized into general areas of Timer, Data Processing, and Webhook & API • BlobTrigger • EventHubTrigger • Generic webhook • GitHub webhook • HTTPTrigger • QueueTrigger • ServiceBusQueueTrigger • ServiceBusTopicTrigger • TimerTrigger • Blank & Experimental
  • 8. Timer Function Apps • Run at explicitly specified intervals, like every day at 2:00 am using CRON expressions, like “0 */5 * * * *“ (every 5 minutes) • Can send information to other systems, but typically don’t “return” information, only write to logs • Great for redundant cleanup and data management • Great for checking state of services • Can be combined with other functions
  • 9. Data Processing Function Apps • Run when triggered by a data event, such as an item being added to a queue or container • Typically have in and out parameters • Great for responding to CRUD events • Great for performing CRUD events • Great for moving content • Access data across services
  • 10. Webhook & API Function Apps • Triggered by events in other services, like GitHub, Team Foundation Services, Office 365, OneDrive, Microsoft PowerApps • Takes in a request and sends back a response • Often mimic Web API and legacy web services flows • Typically need CORS settings managed • Best for exposing functionality to other apps and services • Great for building Logic Apps
  • 11. code Anatomy of a Function • A “Run” file that containing the function code • A “Function” file containing all service and trigger bindings and parameters • A “Project” file containing project assembly and NuGet package references • App Service settings, such as connection strings and API keys .NET Core and Project references Function configuration Executable code
  • 12. Function Bindings Type Service Trigger Input Output Schedule Azure Functions ✔ HTTP (REST or webhook) Azure Functions ✔ ✔* Blob Storage Azure Storage ✔ ✔ ✔ Events Azure Event Hubs ✔ ✔ Queues Azure Storage ✔ ✔ Tables Azure Storage ✔ ✔ Tables Azure Mobile Apps ✔ ✔ No-SQL DB Azure DocumentDB ✔ ✔ Push Notifications Azure Notification Hubs ✔ Bindings serve as the basis for all connections to and from a function. Many bindings can be “bi-directional” as well.
  • 13. Testing Functions • Command-line tools • 3rd party products such as Postman and Swagger • Direct web calls via cURL • Nested functions • Microsoft Azure Storage Explorer • Visual Studio Cloud Explorer
  • 14. Demo

Editor's Notes