Book Image

Mastering Azure Serverless Computing

By : Lorenzo Barbieri, Massimo Bonanni
Book Image

Mastering Azure Serverless Computing

By: Lorenzo Barbieri, Massimo Bonanni

Overview of this book

Application development has evolved from traditional monolithic app development to using serverless options and microservices. This book is designed to guide you through using Microsoft's Azure Functions to process data, integrate systems, and build simple APIs and microservices. You will discover how to apply serverless computing to speed up deployment and reduce downtime. You'll also explore Azure Functions, including its core functionalities and essential tools, along with understanding how to debug and even customize Azure Functions. In addition to this, the book will take you through how you can effectively implement DevOps and automation in your working environment. Toward the concluding chapters, you'll cover some quick tips, troubleshooting techniques, and real-world serverless use cases that will help you make the most of serverless computing. By the end of this book, you will have gained the skills you need to develop and deliver cost-effective Azure serverless solutions.
Table of Contents (19 chapters)
Free Chapter
1
Section 1: Azure Functions 2.0 Fundamentals
5
Section 2: Azure Functions 2.0 Deployment and Automation
10
Section 3: Serverless Orchestration, API Management, and Event Processing
15
Section 4: Real-World Serverless Use Cases

Exposing a new API

In this section, you will learn how to add a REST API to your API Management products and how to expose the API to the developers who are using your API Management service.

We'll use an HTTP-triggered Azure function and, in particular, the Azure function created in Chapter 5, Leveraging the Power of DevOps with Azure Functions.

Just to recap, the Azure function mentioned before is an HTTP-triggered function that can be called using a GET verb and return its version number:

C:\>curl --get https://masterservdevsite.azurewebsites.net/api/GetVersion?code=g5EKQzTFgdXxWXGzH2t...Q==

Your awesome function version 1.1.0.0

You want to add this REST API to your API Management products and, in the next section, you want to add policies to the API (for example, caching or a limit quota):

  1. On the API Management blade, you must choose the APIs option and, on the right...