Is there a way to play with and discover Azure Service Bus on the local emulator without registering to the real Azure Services?
I was following a tutorial on the use of the Azure Service Bus but at a certain point a Namespace
and an Issuer Name
and Key
is required. I don't have that data since I'm not registered to Azure Services and I don't want to do it now (I will get my trial when I will feel ready to develop/test something real).
In order to connect to Azure Service Bus go to Azure portal, open the Service Bus namespace you want, then go to: Settings -> Shared access policies -> RootManageSharedAccessKey -> Primary connection string.
With the peek functionality, you can use the Service Bus Explorer to view the top 100 messages in a queue, subscription or dead-letter queue. To peek messages, select Peek Mode in the Service Bus Explorer dropdown.
There are two ways to authenticate and authorize access to Azure Service Bus resources: Azure Active Directory (Azure AD) and Shared Access Signatures (SAS). This article gives you details on using these two types of security mechanisms.
To get Azure Service bus connection string, Sign-in to Azure portal. Select the resource group in which the Service bus is residing. Select the namespace of the service bus queue/topic for which we need the connection string.
If you want to use the Brokered Messaging capabilities (Queues, Topics and Subscriptions) then you can install Service Bus for Windows Server, which will allow you to test locally.
http://msdn.microsoft.com/en-us/library/windowsazure/jj193022(v=azure.10).aspx
For relayed messaging you will have to use an Azure account. The costs of using the relay service for development and testing are minimal, so it may be worth creating a pay-as-you-go subscription for this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With