Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Going Serverless with Azure Functions in .NET

381 views

Published on

The popularity of Microservices combined with the emergence of serverless based solutions has transformed how modern developers tackle cloud native apps. Microsoft's Azure cloud provides a feature known as Serverless functions that enable developers to stand up integrated end points leveraging the programming language of their choice without having to worry about the supporting infrastructure. Learn how to develop serverless .NET apps and connect them with queues, web requests, and databases using Azure Functions, Logic Apps, and Application Insights.

Published in: Technology
  • Be the first to comment

Going Serverless with Azure Functions in .NET

  1. 1. 2215 D&B Drive Southeast Marietta, GA Sponsored By:
  2. 2. Time
  3. 3. Every 15 minutes Clean tableFind and clean invalid data
  4. 4. Blob Replication Abnormal behavior FTP Download Manager Function Single Folder Single Folder Single Folder
  5. 5. Tasks/ Activities • Replicate logs from one data center to another • Analyze the logs • Take action Using Functions • Setup a VM/ Container/ WebJobs • Build/ patch/ deploy • Monitor infra • Manage FTP cred but with automation • Use FTP library • Use Azure SDK Before Functions • Setup a VM/ Container/ WebJobs • Build/ patch/ deploy • Monitor infra • Manage FTP cred • Use FTP library • Use Azure SDK
  6. 6. File added to Blob Storage Transform CSV to data rows Power BI Chart graphic
  7. 7. Photo taken and WebHook called Stores in blob storage Produces scaled images
  8. 8. Image Processing Functions App 2 API Function App 1 Photo taken and WebHook called
  9. 9. Tasks/ Activities • Upload data to storage • Process data • Expose REST API Using Functions • Setup a VM/ Container/ WebJobs • Build/ patch/ deploy • Monitor infra • Build Web API App • ‘Use Azure SDK’ • Built async data processing (scale) Before Functions • Setup a VM/ Container/ WebJobs • Build/ patch/ deploy • Monitor infra • Build Web API App • Use Azure SDK • Built async data processing (scale) Photo taken and WebHook called
  10. 10. Loaded web page calls WebHook Completed pageCreate ad based on user profile
  11. 11. Millions of devices feed into Stream Analytics Store data in SQL Online Transform to structured data
  12. 12. Deployment and management isolation Customers Products Orders API calls customers.azurewebsites.net products.azurewebsites.net orders.azurewebsites.net
  13. 13. Function app A /customers Function app B /products Function app C Function3/orders Function1 API proxy endpoints HttpTrigger function endpoints Key: /products /orders Function2
  14. 14. New file on site root: proxies.json { "$schema": "http://json.schemastore.org/proxies", "proxies": { "Domain Redirect": { "matchCondition": { "route": "/{*shortUrl}" }, "backendUri": "http://myshortener.azurewebsites.net/api/UrlRedirect/{shortUrl}" }, "Api": { "matchCondition": { "route": "/api/{*path}" }, "backendUri": "http://myshortener.azurewebsites.net/api/{path}" } } }
  15. 15. Tasks/ Activities • Collect tweets • Analyze tweets • Display rich analysis Using Serverless • Setup a VM/ Container/ WebJobs • Build/ patch/ deploy • Monitor infra • Connect (auth)to twitter • Using Twitter API (SDK) • Analyze tweets • Build rich client to show results Before Serverless • Setup a VM/ Container/ WebJobs • Build/ patch/ deploy • Monitor infra • Connect (auth)to twitter • Using Twitter API (SDK) • Analyze tweets • Build rich client to show results
  16. 16. Introducing Azure Logic Apps Fast integrations using a visual designer and workflow creation with triggers and actions Connect applications, data and services Connect and orchestrate Azure Functions
  17. 17. ….and more!
  18. 18. Key scenarios for monitoring Monitor • “What’s my app doing?” Alert • “Is my app unhealthy?” Diagnose • “Why is it unhealthy?” Learn • “What is my app doing?”
  19. 19. Azure Application Insights • • •
  20. 20. https://aka.ms/GoFunctions https://jlik.me/5w

×