Using Azure Functions to Build Nanoservices

Slides:



Advertisements
Similar presentations
Attie Naude 14 May 2013 Windows Azure Mobile Services.
Advertisements

Cross Platform Mobile Backend with Mobile Services James
First Look Clinic: What’s New for IT Professionals in Microsoft® SharePoint® Server 2013 Sayed Ali (MCTS, MCITP, MCT, MCSA, MCSE )
Welcome to Azure App Services! Amie Seisay
Welcome to Azure App Services! Amie Seisay
Windows 8 Application Microsoft Word with an app for Office Internal O365 SharePoint Site Windows Azure Web Sites Windows Azure Workflow Service.
 Cloud Computing technology basics Platform Evolution Advantages  Microsoft Windows Azure technology basics Windows Azure – A Lap around the platform.
Productivity Architect Meet Chris Bortlik Author, Blogger, Speaker.
PowerApps and Microsoft Flow for SharePoint Developers Brian T. Jackett Sr. Premier Field Engineer, Microsoft.
Building Azure Mobile Apps
Building Azure Logic Apps
Building Azure Web Apps
Microsoft Cortana for App Developers
Working with Logic App Cloud Adapters, Functions, and Storage
Make Power BI Your Own with the Power BI APIs
A day in the life of an Azure serverless developer
Tulika Chaudharie / Harikharan Krishnaraju
Data-driven serverless apps with Azure functions
Data-driven serverless apps with Azure functions
Mobile App Trends: lifecycle, functions, and cognitive
Using a Gateway to Leverage On-Premises Data in Power BI
Basic Controls and Plugins
Developing Hybrid Apps on Microsoft Azure Stack
Make Power BI Your Own with the Power BI APIs
Introducing Azure Functions
Microsoft Virtual Academy
Transition Your SharePoint Designer Workflows to Microsoft Flow
Microsoft Planner: How to manage your team’s work in Office 365
Overview of the Microsoft Azure serverless platform
Microsoft Build /6/2018 4:41 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Using a Gateway to Leverage On-Premises Data in Power BI
@marco_parenzan Azure Functions e Logic Apps I tuoi coltellini svizzeri per gestire i tuoi dati in un SQL Database.
Exploring Azure Event Grid
Jeff Hollan Azure Functions – Serverless compute in the cloud
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
The Challenges of moving Document Creation to the Cloud
Partner Logo Azure Provides a Secure, Scalable Platform for ScheduleMe, an App That Enables Easy Meeting Scheduling with People Outside of Your Company.
Working with Logic App Cloud Adapters, Functions, and Storage
Make Power BI Your Own with the Power BI APIs
Near Real Time ETLs with Azure Serverless Architecture
Appcelerator Arrow: Build APIs in Minutes. Connect to Any Data Source
Welcome to SQL Saturday Denmark
Modern cloud PaaS for mobile apps, web sites, API's and business logic apps
Microsoft Virtual Academy
TechEd /28/ :27 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
12/29/2018 8:46 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Microsoft Build /2/2019 6:45 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
1/3/2019 9:40 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
Microsoft Build /14/2019 8:42 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
TechEd /15/2019 8:08 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
TechEd /18/2019 2:30 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
TechEd /18/ :01 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Technical Capabilities
2/19/2019 9:06 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
TechEd /22/2019 9:22 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Building Serverless Enterprise Applications
Azure Active Directory
Power BI Streaming Datasets with MS Flow
Working with Logic App Cloud Adapters, Functions, and Storage
Windows Azure Hybrid Architectures and Patterns
Long Running Umbraco Tasks With Azure Service Bus and functions
Guest management with the Power Platform & the Microsoft Graph
Microsoft Virtual Academy
Microsoft Virtual Academy
Building Windows Store Apps with Windows Azure Mobile Services
Microsoft Virtual Academy
Microsoft Virtual Academy
Matthew Farmer Making Azure Integration Services Real
Presentation transcript:

Using Azure Functions to Build Nanoservices Microsoft Virtual Academy Header Using Azure Functions to Build Nanoservices Scott J. Peterson Produced by

Azure Function Apps 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 & 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.

The Agenda Common Scenarios The Azure Function App Environment Function App Templates Timer Function Apps Data Processing Function Apps Webhook & API Function Apps Advanced Scenarios Next Steps Tips & Tricks

Common Scenarios 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 Your App or Service Office 365 Office Graph Azure Storage Other Functions Legacy Systems Web Services

The Azure Function App Environment Function Apps are part of the new “Web + Mobile” Suite Function App management is not available via the “Classic” Azure Portal Create and manage Functions directly via the Azure Function App Designer at: https://functions.azure.com/ Integrate Functions into your ecosystem via the Azure Portal at: https://portal.azure.com Creation, management, and configuration tool are (in general) web based

The Azure Function App Environment

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

Function App Templates

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

Timer Function Apps

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

Data Processing Function Apps

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

Webhook & API Function Apps

Advanced Scenarios Calling your function programmatically Serializing and deserializing JSON data Using 3rd party libraries via NuGet packages Sending push notifications, i.e.; Toast, Tile and Raw payloads Connecting a function to a Logic App

Advanced Scenarios

Next Steps Start migrating existing processes to Azure Functions Identify 3rd party products to integrate via NuGet packages Experiment with complex types, such as SQL Server geospatial data Evaluate your Azure Resource and Storage configurations Start working with Logic Apps, especially in areas of Office 365 integration

Using Azure Functions to Build Nanoservices Scott J. Peterson, MCSD, MCPSB, MCT Senior Enterprise Architect & Developer scott@liquiddaffodil.com

Tips & Tricks The new Azure Portal seems to respond better when using Firefox. Internet Explorer seems to respond better than Edge. Store credentials, connection strings, and even authorization tokens in the Function App > Application Settings > App Settings or Connection Strings If you delete and re-create a Function with the same name, it may populate the template with old, cached content. Try and rename Functions on create. Get familiar with CRON expression syntax. Good over: https://en.wikipedia.org/wiki/Cron#CRON_expression Good example and builder: http://www.cronmaker.com/.