This project is read-only.

Configuring Service Bus for GeRes2

Setting up Azure Service Bus for GeRes2 is fairly easy since you just need to create a Service Bus namespace and then change the configuration settings for your GeRes2 deployment.

  1. Open the Microsoft Azure Management portal for creating a Service Bus namespace.
  2. After signed in to the Azure Management portal, navigate to the Service Bus section in the left pane.
    image
  3. Next select the “Create”-button in the lower center bar of the portal (not the “New”-button) to create a new Service Bus namespace, only. We only need to create a namespace since all the topics and subscriptions are created by GeRes2, automatically.
    image 
  4. After created successfully, select the new namespace in the list of namespaces as shown below and click on the “Connection Information” button in the center, lower toolbar of the portal. Copy the Service Bus connection string from the dialog popping up since it is the one you need for GeRes2.
    image
  5. Next you need to adjust the service configuration of the GeRes2 backend. For this purpose, in the GeRes2-solution open the appropriate service configuration file (*.cscfg, by default the solution includes a *.cscfg for local debugging called ServiceConfiguration.Local.cscfg which you can use to use this service bus namespace for local debugging).
  6. Update the service bus configuration settings of all roles in the *.cscfg file. For each role you’ll find a setting called “Geres.Messaging.ServiceBusConnectionString” into which you need to paste the connection string you copied earlier in step 4. A sample-excerpt is shown below:
    image
    You’ll need to change the Service Bus connection string three times, one time for each role-configuration as highlighted in the screen shot above.

That’s it, after you’ve configured Service Bus you need to configure Azure Active Directory and Storage if you haven’t done this before. For further details on these two other topics please look at:

Configuring Storage for GeRes2

Configuring Azure Active Directory for GeRes2

Last edited May 1, 2014 at 12:28 PM by mszcool, version 4