Skip to content

Instantly share code, notes, and snippets.

Last active December 19, 2015 17:48
What would you like to do?
How to connect to a Microsoft Azure Service Bus Queue
string connectionString = "<your connectionstring here>";
var namespaceManager = NamespaceManager.CreateFromConnectionString(connectionString);
if (!namespaceManager.QueueExists("orderqueue"))
var Client = QueueClient.CreateFromConnectionString(connectionString, "orderqueue");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment