Book description
Over 50 recipes to help you build applications hosted on Serverless architecture using Azure Functions.
About This Book
- Enhance Azure Functions with continuous deployment using Visual Studio Team Services
- Learn to deploy and manage cost-effective and highly available serverless applications using Azure Functions
- This recipe-based guide will teach you to build a robust serverless 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 this book is for you. Prior knowledge and hands-on experience with core services of Microsoft Azure is required.
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
In Detail
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.
Style and approach
This recipe-based guide explains the different features of Azure Function by taking a real-world application related to a specific domain. You will learn how to implement automation and DevOps and discover industry best practices to develop applications hosted on serverless architecture using Azure functions.
Table of contents
- Preface
- Accelerate Your Cloud Application Development Using Azure Function Triggers and Bindings
-
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
-
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
-
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
- Exploring Testing Tools for the Validation of Azure Functions
- Monitoring and Troubleshooting Azure Serverless Services
-
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
- Developing Reliable and Durable Serverless Applications Using Durable Functions
-
Implement 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 Hub for IoT and similar scenarios
- Enabling authorization for function apps
- Controlling access to Azure Functions using function keys
- Implement Continuous Integration and Deployment of Azure Functions Using Visual Studio Team Services
Product information
- Title: Azure Serverless Computing Cookbook
- Author(s):
- Release date: August 2017
- Publisher(s): Packt Publishing
- ISBN: 9781788390828
You might also like
book
Azure Serverless Computing Cookbook - Second Edition
Over 50 practical recipes that will help you develop and deliver high-quality and reliable cloud-centric Azure …
book
Azure Serverless Computing Cookbook - Third Edition
Discover recipes for implementing solutions to real-world business problems through serverless applications Key Features Test, troubleshoot, …
video
Azure Functions: Getting Started
Azure Functions is central to Microsoft’s serverless computing offering for the cloud. It is an event-driven, …
video
Getting Started with Azure Functions
With Azure Functions, you can easily run small pieces of code in the cloud without worrying …