Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
A Developer's Guide to Building Resilient Cloud Applications with Azure

You're reading from   A Developer's Guide to Building Resilient Cloud Applications with Azure Deploy applications on serverless and event-driven architecture using a cloud database

Arrow left icon
Product type Paperback
Published in Feb 2023
Publisher Packt
ISBN-13 9781804611715
Length 296 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Hamida Rebai Hamida Rebai
Author Profile Icon Hamida Rebai
Hamida Rebai
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Part 1: Building Cloud-Oriented Apps Using Patterns and Technologies
2. Chapter 1: Introduction to Serverless Architecture, Event-Driven Architecture, and Cloud Databases FREE CHAPTER 3. Chapter 2: API Management – Import, Manage, and Publish Your First API 4. Chapter 3: Developing Event-Based and Message-Based Solutions 5. Part 2: Connecting Your Application with Azure Databases
6. Chapter 4: Creating and Deploying a Function App in Azure 7. Chapter 5: Develop an Azure Service Fabric Distributed Application 8. Chapter 6: Introduction to Application Data 9. Chapter 7: Working with Azure SQL Database 10. Chapter 8: Working with Azure Storage 11. Chapter 9: Working with Azure Cosmos DB to Manage Database Services 12. Chapter 10: Big Data Storage Overview 13. Part 3: Ensuring Continuous Integration and Continuous Container Deployment on Azure
14. Chapter 11: Containers and Continuous Deployment on Azure 15. Assessments 16. Index 17. Other Books You May Enjoy

Exercise 1 – publishing and subscribing from a .NET app to Event Grid events

In this exercise, we can use either Visual Studio Code or Visual Studio 2022 to create a console .NET application. We will work through the following steps:

  1. Creating an Event Grid.
  2. Creating a .NET Console project.
  3. Making some modifications to the program class to be able to connect to Event Grid.
  4. Publishing new events to the Event Grid.

We will start by creating an Event Grid topic in the next section.

Creating an Event Grid topic

An Event Grid topic is a channel for related events (for example, storage events or inventory events).

An Event Grid topic provides an endpoint to which sources send events. A publisher creates an Event Grid topic and decides whether the event source requires one topic or multiple topics. Topics are used for collections of related events. Subscribers decide which topics to subscribe to so they can respond to particular types of events.

...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime