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 3 – publishing messages to a Service Bus queue using a .NET Core application

We previously created the Azure Service Bus queue. Now, we will start sending messages from the Azure Service Bus queue using a .NET Core console application.

We will create a solution that will include two projects:

  • AzureQueueSample.Domains: A class library
  • AzureQueueSample.Sender: A .NET Core console application

We will add the AzureQueueSample.Domains project as a project reference to the AzureQueueSample.Sender project. To do that, right-click on the AzureQueueSample.Sender project Dependencies, then select Add Project Reference:

Figure 3.22 – Add Dependencies reference to a project

Figure 3.22 – Add Dependencies reference to a project

We select the AzureQueueSample.Domains project and the project will be added in as a reference:

Figure 3.23 – AzureQueueSample solution

Figure 3.23 – AzureQueueSample solution

In the AzureQueueSample.Domains project, we will add a new class named Appointment...

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 $19.99/month. Cancel anytime