Book Image

Azure for Developers. - Second Edition

By : Kamil Mrzygłód
Book Image

Azure for Developers. - Second Edition

By: Kamil Mrzygłód

Overview of this book

Microsoft Azure is currently one of the fastest growing public cloud service providers thanks to its sophisticated set of services for building fault-tolerant and scalable cloud-based applications. This second edition of Azure for Developers will take you on a journey through the various PaaS services available in Azure, including Azure App Service, Azure Functions, and Azure SQL Databases, showing you how to build a complete and reliable system with ease. Throughout the book, you’ll discover ways to enhance your skills when building cloud-based solutions leveraging different SQL/NoSQL databases, serverless and messaging components, containerized solutions, and even search engines such as Azure Cognitive Search. That’s not all!! The book also covers more advanced scenarios such as scalability best practices, serving static content with Azure CDN, and distributing loads with Azure Traffic Manager, Azure Application Gateway, and Azure Front Door. By the end of this Azure book, you’ll be able to build modern applications on the Azure cloud using the most popular and promising technologies to make your solutions reliable, stable, and efficient.
Table of Contents (32 chapters)
1
Part 1: PaaS and Containers
8
Part 2: Serverless and Reactive Architecture
14
Part 3: Storage, Messaging, and Monitoring
22
Part 4: Performance, Scalability, and Maintainability

Connecting services through Azure Event Grid

Now that you have learned something about what Azure Event Grid is and how it works, we will try to test your knowledge and create a working solution. We will start by creating an instance in the Azure Portal and configuring it to accept and route events. Additionally, you will learn what the schema of an event is and how to leverage it so that you can send custom events that will be handled by Event Grid.

Creating Azure Event Grid in the Azure Portal

To get started with Azure Event Grid, do the following in the Azure Portal:

  1. Click on + Create a resource and search for Event Grid. From the list, select Event Grid Topic and click on Create.
  2. You will see a simple form, where you must enter the name of the instance of a service. For now, we will skip the rest of the settings:

Figure 11.6 – Creating a topic in the Azure Portal

  1. When you click on Review...