Notikumi
31. marts 23 - 2. apr. 23
Lielākais Fabric, Power BI un SQL mācību pasākums. 31. marts – 2. aprīlis. Izmantojiet kodu FABINSIDER, lai ietaupītu 400 USD.
Reģistrēties šodienŠī pārlūkprogramma vairs netiek atbalstīta.
Jauniniet uz Microsoft Edge, lai izmantotu jaunāko līdzekļu, drošības atjauninājumu un tehniskā atbalsta sniegtās priekšrocības.
In this quickstart, you learn how to use the Azure portal to create a queue in Azure Storage, and to add and dequeue messages.
To access Azure Storage, you'll need an Azure subscription. If you don't already have a subscription, create a free account before you begin.
All access to Azure Storage takes place through a storage account. For this quickstart, create a storage account using the Azure portal, Azure PowerShell, or Azure CLI. For help creating a storage account, see Create a storage account.
To create a queue in the Azure portal, follow these steps:
Navigate to your new storage account in the Azure portal.
In the left menu for the storage account, scroll to the Queue Storage section, then select Queues.
Select the + Queue button.
Type a name for your new queue. The queue name must be lowercase, must start with a letter or number, and can include only letters, numbers, and the dash (-) character.
Select OK to create the queue.
Next, add a message to the new queue. A message can be up to 64 KB in size.
Select the new queue from the list of queues in the storage account.
Select the + Add message button to add a message to the queue. Enter a message in the Message text field.
Specify when the message expires. Valid values that can be entered in the Expires in field are between 1 second and 7 days. Select Message never expires to indicate a message that will remain in the queue until it is explicitly removed.
Indicate whether to encode the message as Base64. Encoding binary data is recommended.
Select the OK button to add the message.
After you add a message, the Azure portal displays a list of all of the messages in the queue. You can view the message ID, the contents of the message, the message insertion time, and the message expiration time. You can also see how many times this message has been dequeued.
You can dequeue a message from the front of the queue from the Azure portal. When you dequeue a message, the message is deleted.
Dequeueing always removes the oldest message in the queue.
In this quickstart, you learned how to create a queue, add a message, view message properties, and dequeue a message in the Azure portal.
Notikumi
31. marts 23 - 2. apr. 23
Lielākais Fabric, Power BI un SQL mācību pasākums. 31. marts – 2. aprīlis. Izmantojiet kodu FABINSIDER, lai ietaupītu 400 USD.
Reģistrēties šodienApmācība
Modulis
Discover Azure message queues - Training
Learn how to integrate Azure Service Bus and Azure Queue storage in to your solution, and how to send and receive message by using .NET.
Sertifikācija
Microsoft Certified: Azure Fundamentals - Certifications
Demonstrate foundational knowledge of cloud concepts, core Azure services, plus Azure management and governance features and tools.
Dokumentācija
Azure Queue storage documentation
Azure Queue storage is a service for storing large numbers of messages. Access messages from anywhere in the world via HTTP or HTTPS.
Tutorial: Work with Azure Queue Storage queues in .NET
A tutorial on using the Azure Queue Storage to create queues, and insert, get, and delete messages using .NET code.
Quickstart: Azure Queue Storage client library for Python - Azure Storage
Learn how to use the Azure Queue Storage client library for Python to create a queue and add messages to it. Then learn how to read and delete messages from the queue. You also learn how to delete a queue.