Skip to content

Setting Up Windows Azure Service Bus

joefeser edited this page Nov 11, 2014 · 7 revisions

This document assumes you have already set up an Windows Azure Account.

The first thing you must do is locate and click on the Service Bus Icon

test

Once you do that, your existing namespaces will appear in the list. As you can see, one exists with the name of performance

test

Click on the Create Button.

You will now see the Add New Namespace Dialog. This must be a unique name that is not used anywhere on Azure. It may take a few tries to find one.

You need to select the Region which is usually the same data center, and the Subscription if you have more than one.

test

Click on the checkbox button and the namespace will be created.

test

Once created, click on the Service Bus name on the left most column - Namespace Name.

It will tell you that no topics exist. Click on the "Topics" Link at the top of the screen.

test

Click on the "Create A New Topic" Link

test

You can use the final topic name that you will use in your code or just make up a name. What we are doing is creating a topic so we can grab the Access Key needed to configure our app and this is the quickest way to do it.

test

You can take the defaults. Do not change the Max Size unless you understand how you will be billed for it. By default, Enable Partitioning will be checked. More information can be found about partitioning in the Azure documentation.

test

Now that a topic is created, click on the Access Key button.

test

By default, there will not be any SAS keys set up. We no longer support CAS keys. You must create a new SAS key if one does not exist.

test

Click the "Click Here to Configure" link.

Create a new Access policy. In this example, we are using a key called "all". Set up Manage, Send and Listen to allow the application to created the needed subscriptions.

test

Once you click on the save button, they policy will be created. You can copy the Primary Key information to use in the "ServiceBusIssuerKey" setting. "all" would be used in the "ServiceBusIssuerName" setting.

test

Once you return to the Dashboard tab, if you click on the Connection Information button on the bottom of the screen, you should see a screen that looks like this.

test