learn building nano services using azure functions

21
Sponsored & Brought to you by Learn Building Nano Services using Azure Functions Sunny Sharma Microsoft MVP https://www.linkedin.com/in/sunny-sharma-8725031a https://twitter.com/Sunny_Delhi

Upload: biztalk360

Post on 07-Jan-2017

105 views

Category:

Technology


5 download

TRANSCRIPT

Page 1: Learn building Nano Services using Azure Functions

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

Page 2: Learn building Nano Services using Azure Functions

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

<About Me/>

Codeflair.net

Page 3: Learn building Nano Services using Azure Functions

What we are going to discuss?

Azure Functions Fundamentals

Azure Functions Architecture

Demo - Building Nano Services

Q&A

Page 4: Learn building Nano Services using Azure Functions

What is Azure Functions?Code Events +

dataAzure

Functions

Page 5: Learn building Nano Services using Azure Functions

Azure Functions

code outputinput

Page 6: Learn building Nano Services using Azure Functions

Azure Functions - Features Serverless Architecture

Modularity & Flexibility

Event-based

Easily Integrated into workflows

Scalability

Full .NET Core support

Page 7: Learn building Nano Services using Azure Functions

Language Support

C# F# Node.js

Python PHP Batch

Bash Any other Executable

Page 8: Learn building Nano Services using Azure Functions

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

Page 9: Learn building Nano Services using Azure Functions

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

Page 10: Learn building Nano Services using Azure Functions

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 ✔

Page 11: Learn building Nano Services using Azure Functions

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

Page 12: Learn building Nano Services using 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

Page 13: Learn building Nano Services using Azure Functions
Page 14: Learn building Nano Services using Azure Functions

Demo time

Page 15: Learn building Nano Services using Azure Functions

Debug Azure Functions in Visual Studio

https://aka.ms/azfunctiontools

Download Microsoft Azure App Service Tools

Page 16: Learn building Nano Services using Azure Functions

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

Page 17: Learn building Nano Services using Azure Functions
Page 18: Learn building Nano Services using Azure Functions

bit.ly/AzureFuncFeedback

I Feedback!

Page 19: Learn building Nano Services using Azure Functions

References

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

Page 20: Learn building Nano Services using Azure Functions

Thank You!

twitter: @sunny_delhi

[email protected]

Page 21: Learn building Nano Services using Azure Functions

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