Learn how to write up a simple application to dequeue messages from the queue.
- [Instructor] So, now that the sender is written,…let's focus on the receiver.…We have ten messages queued up in the cloud.…And my receiver is now going to pull those messages down.…How do we do that?…Well, as usual, File, New, Project.…And again I'm using Console App .NET Core,…so let me call this ServiceBusReceiver.…Now, you notice that the sender has queued the messages,…and the sender isn't even running right now.…Those messages are up there in the cloud waiting for me.…
Okay, let's wait for this to get created.…Okay, great.…Now, here let's go ahead and, as usual,…go to the Package Manager Console.…And choose to add the NuGet package,…Microsoft.Azure.ServiceBus.…Okay, so this NuGet package is now installed.…Now let's go ahead and add a bunch of variables up here.…Just like before we have the ServiceBusConnectionString,…this is what I got from the Azure Portal,…and the name of the queue.…
And I've created a variable called queueClient…that will allow me to work with the queue.…Let's go ahead and add a few using statements at the top.…
Released
11/29/2018- What is Azure Service Bus?
- Setting up messaging queues
- Sending and receiving messages
- Setting up topics and subscriptions
- Enabling a namespace to host topics
- Relaying asynchronous communications
Share this video
Embed this video
Video: Receive messages from the queue