learn building nano services using azure functions

Post on 07-Jan-2017

105 Views

Category:

Technology

5 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Sponsored & Brought to you by

Learn Building Nano Services using Azure FunctionsSunny SharmaMicrosoft MVP

https://www.linkedin.com/in/sunny-sharma-8725031a

https://twitter.com/Sunny_Delhi

• SSE @ BizTalk360• Microsoft MVP, C# Corner MVP• twitter: @sunny_delhi• fb: bit.ly/sunnykumar

<About Me/>

Codeflair.net

What we are going to discuss?

Azure Functions Fundamentals

Azure Functions Architecture

Demo - Building Nano Services

Q&A

What is Azure Functions?Code Events +

dataAzure

Functions

Azure Functions

code outputinput

Azure Functions - Features Serverless Architecture

Modularity & Flexibility

Event-based

Easily Integrated into workflows

Scalability

Full .NET Core support

Language Support

C# F# Node.js

Python PHP Batch

Bash Any other Executable

Development• Languages and Framework• Superior DevOps• Self served• Something else

Apps

Web Apps

Mobile Apps

API Apps Functions

eCommerce Digital Global Presence LOB API / Services / ISVCustom Apps

App Service

Fully Managed Platform• Limitless/Auto • OS and Framework • Load balance• Something else

Enterprise Grade• Enterprise grade SLA• Secure and Compliance• On-Premise Connectivity• Something else

9

Azure Functions architecture

App Service Dynamic RuntimeHosting, CI, Deployment Slots, Remote Debugging, etc.

WebJobs CoreProgramming model, common abstractions

WebJobs ExtensionsTriggers, input and output bindings

WebJobs Script RuntimeAzure Functions Host – Dynamic Compilation, Language abstractions, etc.

Code Config

• Language RuntimeC#, Node.js, F#, PHP, etc.

Built on top of App Service and WebJobs SDK

Supported bindingsType Service Trigger Input OutputSchedule Azure Functions ✔

HTTP (REST or WebHook) Azure Functions ✔ ✔

Blob Storage Azure Storage ✔ ✔ ✔

Queues Azure Storage ✔ ✔

Ques and Topics Azure Service Bus ✔ ✔

Tables Azure Storage ✔ ✔

Tables Azure Mobile Apps ✔ ✔

No-SQL DB Azure DocumentDB ✔ ✔

Streams Azure Event Hubs ✔ ✔

Push Notifications Azure Notification Hubs ✔

Twilio SMS Text Twilio ✔

Azure WebJobs Azure Functions Need to managed on Azure WebApps

Supports Continuous / Triggered process

Works with Azure App Service Plan

Scaling is manual

Can be developed / debugged using Visual

Studio

Less Turn Around Time compared to Azure

Functions

Serverless – No Management needed

Can be triggered only

Azure App Service Plan / Dynamic App

Service plan

Auto Scales on requests

Can be developed / debugged using Visual

Studio

Less Turn Around Time compared to Azure

Functions

Azure Functions - Composition

Run file: contains all the code Function file: contains service bindings / triggers /

parameters Project file: contains project assembly and NuGet

Package references Configuration: Connection strings and API keys

Demo time

Debug Azure Functions in Visual Studio

https://aka.ms/azfunctiontools

Download Microsoft Azure App Service Tools

Platform and ScalingApp Service offers two pricing tiers.

App Service / Dedicated Tier Dynamic Tier

• Basic / Standard / Premium• Pay based on # of reserved

VMs• You’re responsible for scaling

• Pay on number of executions• Platform is responsible for

scaling

bit.ly/AzureFuncFeedback

I Feedback!

References

Try Azure Functions @ https://functions.azure.com Try App Service @ https://tryappservice.azure.com

Thank You!

twitter: @sunny_delhi

Sunny.Sharma@BizTalk360.co.uk

Get in touch with us …

facebook.com/BizTalk360

twitter.com/BizTalk360

plus.google.com/+Biztalk360

instagram.com/BizTalk360

linkedin.com/company/biztalk360

youtube.com/user/biztalk360

Twitter & Facebook Hashtag - #techmeet360

top related