Azure Serverless Computing Cookbook

Over 50 recipes to help you build applications hosted on Serverless architecture using Azure Functions.
Preview in Mapt

Azure Serverless Computing Cookbook

Praveen Kumar Sreeram

1 customer reviews
Over 50 recipes to help you build applications hosted on Serverless architecture using Azure Functions.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Azure Serverless Computing Cookbook Book Cover
Azure Serverless Computing Cookbook
$ 35.99
$ 25.20
Serverless Design Patterns and Best Practices Book Cover
Serverless Design Patterns and Best Practices
$ 35.99
$ 25.20
Buy 2 for $35.00
Save $36.98
Add to Cart

Book Details

ISBN 139781788390828
Paperback332 pages

Book Description

Microsoft provides a solution to easily run small segment of code in the Cloud with Azure Functions. Azure Functions provides solutions for processing data, integrating systems, and building simple APIs and microservices.

The book starts with intermediate-level recipes on serverless computing along with some use cases on benefits and key features of Azure Functions. Then, we’ll deep dive into the core aspects of Azure Functions such as the services it provides, how you can develop and write Azure functions, and how to monitor and troubleshoot them.

Moving on, you’ll get practical recipes on integrating DevOps with Azure functions, and providing continuous integration and continous deployment with Visual Studio Team Services. It also provides hands-on steps and tutorials based on real-world serverless use cases, to guide you through configuring and setting up your serverless environments with ease. Finally, you’ll see how to manage Azure functions, providing enterprise-level security and compliance to your serverless code architecture.

By the end of this book, you will have all the skills required to work with serverless code architecture, providing continuous delivery to your users.

Table of Contents

Chapter 1: Accelerate Your Cloud Application Development Using Azure Function Triggers and Bindings
Introduction
Building a backend Web API using HTTP triggers
Persisting employee details using Azure Storage table output bindings
Saving the profile images to Queues using Queue output bindings
Storing the image in Azure Blob storage
Cropping an image using ImageResizer trigger
Chapter 2: Working with Notifications Using SendGrid and Twilio Services
Introduction
Sending an email notification to the administrator of the website using the SendGrid service
Sending an email notification to the end user dynamically
Implementing email logging in the Blob storage
Modifying the email content to include an attachment
Sending SMS notification to the end user using the Twilio service
Chapter 3: Seamless Integration of Azure Functions with Other Azure Services
Introduction
Using Cognitive Services to locate faces from the images
Azure SQL Database interactions using Azure Functions
Processing a file stored in OneDrive using an external file trigger
Monitoring tweets using Logic Apps and notifying when popular users tweet
Integrating Logic Apps with Azure Functions
Chapter 4: Understanding the Integrated Developer Experience of Visual Studio Tools for Azure Functions
Introduction
Creating the function app using Visual Studio 2017
Debugging C# Azure Functions on a local staged environment using Visual Studio 2017
Connecting to the Azure Cloud storage from local Visual Studio environment
Deploying the Azure Function app to Azure Cloud using Visual Studio
Debugging live C# Azure Function hosted on the Microsoft Azure Cloud environment using Visual Studio
Chapter 5: Exploring Testing Tools for the Validation of Azure Functions
Introduction
Testing Azure Functions
Testing an Azure Function on a staged environment using deployment slots
Load testing Azure Functions using VSTS
Creating and testing Azure Function locally using Azure CLI tools
Testing and validating Azure Function responsiveness using Application Insights
Chapter 6: Monitoring and Troubleshooting Azure Serverless Services
Introduction
Monitoring your Azure Functions
Monitoring Azure Functions using Application Insights
Pushing custom telemetry details to analytics of Application Insights
Sending application telemetry details via email
Integrating real-time AI monitoring data with Power BI using Azure Functions
Chapter 7: Code Reusability and Refactoring the Code in Azure Functions
Introduction
Creating a common code repository for better manageability within a function app
Shared code across Azure Functions using class libraries
Azure Functions and precompiled assemblies
Migrating legacy C# application classes to Azure Functions using PowerShell
Using strongly typed classes in Azure Functions
Chapter 8: Developing Reliable and Durable Serverless Applications Using Durable Functions
Introduction
Configuring Durable Functions in the Azure Management portal
Creating a hello world Durable Function app
Testing and troubleshooting Durable Functions
Implementing multithreaded reliable applications using Durable Functions
Chapter 9: Implement Best Practices for Azure Functions
Chapter 10: Implement Continuous Integration and Deployment of Azure Functions Using Visual Studio Team Services
Introduction
Continuous integration - creating a build definition
Continuous integration - queuing the build and trigger manually
Configuring and triggering the automated build
Creating a release definition
Trigger the release automatically

What You Will Learn

  • Develop different event-based handlers supported by serverless architecture supported by Microsoft Cloud Platform – Azure
  • Integrate Azure Functions with different Azure Services to develop Enterprise-level applications
  • Get to know the best practices in organizing and refactoring the code within the Azure functions
  • Test, troubleshoot, and monitor the Azure functions to deliver high-quality, reliable, and robust cloud-centric applications
  • Automate mundane tasks at various levels right from development to deployment and maintenance
  • Learn how to develop statefulserverless applications and also self-healing jobs using DurableFunctions

Authors

Table of Contents

Chapter 1: Accelerate Your Cloud Application Development Using Azure Function Triggers and Bindings
Introduction
Building a backend Web API using HTTP triggers
Persisting employee details using Azure Storage table output bindings
Saving the profile images to Queues using Queue output bindings
Storing the image in Azure Blob storage
Cropping an image using ImageResizer trigger
Chapter 2: Working with Notifications Using SendGrid and Twilio Services
Introduction
Sending an email notification to the administrator of the website using the SendGrid service
Sending an email notification to the end user dynamically
Implementing email logging in the Blob storage
Modifying the email content to include an attachment
Sending SMS notification to the end user using the Twilio service
Chapter 3: Seamless Integration of Azure Functions with Other Azure Services
Introduction
Using Cognitive Services to locate faces from the images
Azure SQL Database interactions using Azure Functions
Processing a file stored in OneDrive using an external file trigger
Monitoring tweets using Logic Apps and notifying when popular users tweet
Integrating Logic Apps with Azure Functions
Chapter 4: Understanding the Integrated Developer Experience of Visual Studio Tools for Azure Functions
Introduction
Creating the function app using Visual Studio 2017
Debugging C# Azure Functions on a local staged environment using Visual Studio 2017
Connecting to the Azure Cloud storage from local Visual Studio environment
Deploying the Azure Function app to Azure Cloud using Visual Studio
Debugging live C# Azure Function hosted on the Microsoft Azure Cloud environment using Visual Studio
Chapter 5: Exploring Testing Tools for the Validation of Azure Functions
Introduction
Testing Azure Functions
Testing an Azure Function on a staged environment using deployment slots
Load testing Azure Functions using VSTS
Creating and testing Azure Function locally using Azure CLI tools
Testing and validating Azure Function responsiveness using Application Insights
Chapter 6: Monitoring and Troubleshooting Azure Serverless Services
Introduction
Monitoring your Azure Functions
Monitoring Azure Functions using Application Insights
Pushing custom telemetry details to analytics of Application Insights
Sending application telemetry details via email
Integrating real-time AI monitoring data with Power BI using Azure Functions
Chapter 7: Code Reusability and Refactoring the Code in Azure Functions
Introduction
Creating a common code repository for better manageability within a function app
Shared code across Azure Functions using class libraries
Azure Functions and precompiled assemblies
Migrating legacy C# application classes to Azure Functions using PowerShell
Using strongly typed classes in Azure Functions
Chapter 8: Developing Reliable and Durable Serverless Applications Using Durable Functions
Introduction
Configuring Durable Functions in the Azure Management portal
Creating a hello world Durable Function app
Testing and troubleshooting Durable Functions
Implementing multithreaded reliable applications using Durable Functions
Chapter 9: Implement Best Practices for Azure Functions
Chapter 10: Implement Continuous Integration and Deployment of Azure Functions Using Visual Studio Team Services
Introduction
Continuous integration - creating a build definition
Continuous integration - queuing the build and trigger manually
Configuring and triggering the automated build
Creating a release definition
Trigger the release automatically

Book Details

ISBN 139781788390828
Paperback332 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Azure for Architects Book Cover
Azure for Architects
$ 35.99
$ 25.20
Building Microservices with .NET Core 2.0 - Second Edition Book Cover
Building Microservices with .NET Core 2.0 - Second Edition
$ 35.99
$ 25.20
Mastering Swift 4 - Fourth Edition Book Cover
Mastering Swift 4 - Fourth Edition
$ 35.99
$ 25.20
Getting Started with Azure Serverless Computing Using Node.js [Video] Book Cover
Getting Started with Azure Serverless Computing Using Node.js [Video]
$ 124.99
$ 106.25
Serverless Design Patterns and Best Practices Book Cover
Serverless Design Patterns and Best Practices
$ 35.99
$ 25.20
OpenCV 3 Computer Vision with Python Cookbook Book Cover
OpenCV 3 Computer Vision with Python Cookbook
$ 35.99
$ 25.20