Managing Azure Service Bus queues
Service Bus is a comprehensive set of enterprise-ready connectivity tools to enable messaging between endpoints. It differs from the Storage service as mentioned in the introduction, and talking about queues, it offers many more features than that.
To provide our application with a Service Bus queue, a Service Bus endpoint should be created as explained in the following section. The Service Bus integrates the Access Control Service (ACS) to provide fine-grained security across its objects (such as queues, topics, and relays).
Tip
Here and later in the chapter, we use ACS with default credentials (owner user) to operate against the Service Bus. It is a common approach, even if it is not recommended in production where a fine-grained security should be implemented. For testing and learning purposes, the following approach is effective as well.
At the time of writing, the average latency of the Azure Storage is said to be slightly less than the Service Bus: 100...