Windows Azure Service Bus Queues, Topics / Subscriptions
We just released to production the Queues, Publish-Subscribe with Topics / Subscriptions features that were earlier showcased in Community Technology Preview for Service Bus. For an introductory period these Brokered Messaging features are free, but you continue to pay Azure data transfer. Also the Relay features continue to be charged as before. Following are steps to quickly get started, and the links to additional resources:
The steps below are to download and run a simple application that showcases the publish-subscribe capabilities of Service Bus. You will need to have Visual Studio and NuGet installed. We will start by creating a new console application in VS:
Open the Project –> Properties and change the Target framework to .NET Framework 4
From the References node in Solution Explorer click on the context menu item for Add Library Package Reference. This will show only if you have NuGet Extension installed. (To learn more about NuGet see this TechEd video).
Search for “AppFabric” and select the Windows Azure AppFabric Service Bus Samples – PublishSubscribe item. Then complete the Install and close this dialog.
Note that the required client assemblies are now referenced and some new code files are added.
Add the following line to the main method in Program.cs and hit F5
Microsoft.Samples.PublishSubscribe.Program.Start(null);
At this point you will be prompted to provide a ServiceNamespace and Issuer Name and Key. You can create your own namespace from https://windows.azure.com/
Once a new namespace has been created you can retrieve the key from the Properties section by clicking View under Default Key:
These values can now be used in the Console application:
At this point you can run thru the different scenarios showcased by the sample. Following are some additional resources:
Download page for SDK and Samples
Documentation for Service Bus September Release
Looking forward to your feedback / questions / concerns / suggestions.
Trackbacks & Pingbacks