Skip to content
Vivek Maurya edited this page Nov 17, 2022 · 10 revisions

Azure Queue Storage in .NET

Azure Queue Storage implements cloud-based queues to enable communication between components of a distributed application. Each queue maintains a list of messages that can be added by a sender component and processed by a receiver component. With a queue, your application can scale immediately to meet demand.

Steps:

  1. Create an Azure Storage Account with the help of Azure Portal.
  2. Create Storage Queue in Azure Storage Account.
  3. Create a .NET Core application. For simplicity, this app will both send and receive messages through the queue. In a console window (such as cmd, PowerShell, or Azure CLI), use the dotnet new command to create a new console app with the any name as you want. Example:
  dotnet new console -n QueueApp
  1. Add the Azure client libraries.
dotnet add package Azure.Storage.Queues
Clone this wiki locally