I am following this tutorial:
It mentions that I should get the IssuerName and IssuerKey from the properties of my ServiceBus. There are no properties called IssuerName and IssuerKey when using VS2012 Server Explorer to examine my ServiceBus. When I use the online Azure management console and I click on Connection Information I only get a Connection string not the expected IssuerName and IssuerKey.
Where are these values? I am on the free trial, does that matter?
This is what I see.
http://lh3.googleusercontent.com/-Fj9_XtqozFU/VAX4tBSSBZI/AAAAAAACCcY/zpaGo5EPx9Y/w667-h519-no/Azure.jpg
Go to the CONFIGURE tab and you will see the Shared Access Policies. For the sake of a demo/sample, you can just use the RootManageSharedAccessKey. However, that is not a best practice. You should create shared access policies appropriate for the application, whether it be a client with Send permissions, a service with Send and Listen permissions, etc.
The sample/tutorial also has a bug in it (dated content for an older SDK). In the QueueConnector.cs file, the CreateNamespaceManager should call the CreateSharedAccessSignatureTokenProvider instead of the CreateSharedSecretTokenProvider.
BTW, you can also get these values from your connection string. You just have to extract them from the other values in the connection string.
EDIT
I checked that Microsoft Azure is moving authentication method from ACS to SAS for better performance and manageability, so removed ACS things from dialog for newly created servicebus. Seems that documentation is not yet changed.
To use with SAS, good reference is http://azure.microsoft.com/en-us/documentation/articles/service-bus-dotnet-how-to-use-queues/ and more low-level approach is described in http://msdn.microsoft.com/en-us/library/dn205161.aspx page.
For more information about SAS (and old ACS), please see http://msdn.microsoft.com/en-us/library/dn170478.aspx
ORIGINAL BELOW
Please go to Azure Portal by web browser. You may find it.
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