Azure Functions and Triggers Available
The first three chapters of the book covered the background of serverless and microservices, focusing on how to use these technologies to design an application that works with a microservice-based architecture. This and the following chapters will go deep into the options you have for writing code for this, using the car-sharing example presented in Chapter 2, Demystifying Microservices Applications.
To do so, in this chapter, we will present the different triggers available in Azure Functions. The point here is not just to write about it, but to also test it with each of the triggers presented. In Chapter 1, Demystifying Serverless Application, we covered its basis, but we did not have the opportunity to implement them.
In this chapter, we will focus on three important triggers that we can use when implementing Azure Functions – the HTTP, SQL, and Cosmos DB triggers. Together with their implementation, we will discuss their advantages...