I am considering developing an application for working on the premises and outdoors and was hoping to use a service bus for communication between services. I have 2 problems:
- My corporate network is blocking access to my Azure endpoint, so I cannot use my real Azure Service Bus.
- I cannot use WindowsAzure.ServiceBus version 2.2.7.0 for my Windows Server service bus.
I get the following when I try to use the Windows Server service bus (e.g. NamespaceManager.QueueExists):
System.ArgumentException: The remote server responded with an error: (400) Invalid request. The api version in the query string is not supported. Either remove it from Uri, or use one of 2012-03,2012-08,2013-04,2013-07 ...
I suspect that I need to add an api version to NamespaceManager.CreateFromConnectionString, but I just can't find how :(
My current connection string is:
Endpoint = sb: // [my machine] / ServiceBusDefaultNamespace; StsEndpoint = https: // [my machine]: 9355 / ServiceBusDefaultNamespace; RuntimePort = 9354; ManagementPort = 9355
No matter where I write api-version = 2013-07, I do not like it.
MTIA
Andy
c # azure servicebus
Maxitone
source share