Book description
Over 50 practical recipes that will help you develop and deliver high-quality and reliable cloud-centric Azure serverless applications for your organization
Key Features
- Leverage practical use cases to build a robust serverless environment
- Enhance Azure Functions with continuous deployment using Visual Studio Team Services
- Deploy and manage cost-effective and highly available serverless applications using Azure Functions
Book Description
Microsoft provides a solution for easily running small segments of code in the cloud with Azure Functions. The second edition of Azure Serverless Computing Cookbook starts with intermediate-level recipes on serverless computing along with some use cases demonstrating the benefits and key features of Azure Functions. You'll explore 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.
As you make your way through the chapters, you'll get practical recipes on integrating DevOps with Azure Functions, and providing continuous integration and continuous deployment with Azure DevOps. This book also provides hands-on, step-by-step tutorials based on real-world serverless use cases to guide you through configuring and setting up your serverless environments with ease. You will also learn how to build solutions for complex, real-world, workflow-based scenarios quickly and with minimal code using Durable Functions. In the concluding chapters, you will ensure enterprise-level security within your serverless environment. The most common tips and tricks that you need to be aware of when working with Azure Functions on production environments will also be covered in this book.
By the end of this book, you will have all the skills required for working with serverless code architecture, providing continuous delivery to your users.
What you will learn
- Integrate Azure Functions with other Azure services
- Understand cloud application development using Azure Functions
- Employ durable functions for developing reliable and durable serverless applications
- Use SendGrid and Twilio services
- Explore code reusability and refactoring in Azure Functions
- Configure serverless applications in a production environment
Who this book is for
If you are a cloud administrator, architect, or developer who wants to build scalable systems and deploy serverless applications with Azure Functions, then the Azure Serverless Computing Cookbook is for you. Hands-on experience with Microsoft Azure core services is required.
Table of contents
- Title Page
- Copyright and Credits
- Dedication
- About Packt
- Contributors
- Preface
- Developing Cloud Applications Using Function Triggers and Bindings
-
Working with Notifications Using the SendGrid and Twilio Services
- Introduction
- Sending an email notification to the administrator of a website using the SendGrid service
- Sending an email notification dynamically to the end user
- Implementing email logging in Azure Blob Storage
- Modifying the email content to include an attachment
- Sending an SMS notification to the end user using the Twilio service
- Seamless Integration of Azure Functions with Azure Services
-
Understanding the Integrated Developer Experience of Visual Studio Tools
- Introduction
- Creating a function app using Visual Studio 2017
- Debugging C# Azure Functions on a local staged environment using Visual Studio 2017
- Connecting to the Azure Storage cloud from the local Visual Studio environment
- Deploying the Azure Function app to Azure Cloud using Visual Studio
- Debugging a live C# Azure Function, hosted on the Microsoft Azure Cloud environment, using Visual Studio
- Deploying Azure Functions in a container
-
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 Azure DevOps 
- Creating and testing Azure Functions locally using the Azure CLI tools
- Testing and validating Azure Function responsiveness using Application Insights
- Developing unit tests for Azure Functions with HTTP triggers
-
Monitoring and Troubleshooting Azure Serverless Services
- Introduction
- Troubleshooting your Azure Functions
- Integrating Azure Functions with Application Insights
- Monitoring your Azure Functions
- Pushing custom telemetry details to Application Insights Analytics
- Sending application telemetry details via email
- Integrating real-time Application Insights monitoring data with Power BI using Azure Functions
- Developing Reliable Serverless Applications Using Durable Functions
- Bulk Import of Data Using Azure Durable Functions and Cosmos DB
-
Implementing Best Practices for Azure Functions
- Adding multiple messages to a queue using the IAsyncCollector function
- Implementing defensive applications using Azure Functions and queue triggers
- Handling massive ingress using Event Hubs for IoT and other similar scenarios
- Avoiding cold starts by warming the app at regular intervals
- Enabling authorization for function apps
- Controlling access to Azure Functions using function keys
- Securing Azure Functions using Azure Active Directory
- Configuring the throttling of Azure Functions using API Management
- Securely accessing SQL Database from Azure Functions using Managed Service Identity
- Shared code across Azure Functions using class libraries
- Using strongly typed classes in Azure Functions
-
Configuring of Serverless Applications in the Production Environment
- Introduction
- Deploying Azure Functions using Run From Package
- Deploying Azure Function using ARM templates
- Configuring custom domains to Azure Functions
- Techniques to access Application Settings
- Creating and generating open API specifications using Swagger
- Breaking down large APIs into small subsets of APIs using proxies
- Moving configuration items from one environment to another using resources
-
Implementing and Deploying Continuous Integration Using Azure DevOps
- Introduction
- Continuous integration – creating a build definition
- Continuous integration – queuing a build and triggering it manually
- Configuring and triggering an automated build
- Continuous integration – executing unit test cases in the pipeline
- Creating a release definition
- Triggering the release automatically
- Other Books You May Enjoy
Product information
- Title: Azure Serverless Computing Cookbook - Second Edition
- Author(s):
- Release date: November 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789615265
You might also like
book
Azure Serverless Computing Cookbook - Third Edition
Discover recipes for implementing solutions to real-world business problems through serverless applications Key Features Test, troubleshoot, …
book
Azure Serverless Computing Cookbook
Over 50 recipes to help you build applications hosted on Serverless architecture using Azure Functions. About …
book
Mastering Azure Serverless Computing
Become an expert in implementing Azure Functions to work seamlessly with your serverless applications Key Features …
video
Azure Web Service with Front Door
Anyone who is looking forward to developing and hosting solutions/applications in Azure — this course is …