I'm considering developing an app to run on-premise and off-premise and was hoping to use the Service Bus to communicate between services. I have 2 problems:
- My corporate network is blocking access to my Azure endpoint so I can't use my genuine Azure Service Bus.
- I can't use WindowsAzure.ServiceBus version 2.2.7.0 against my Windows Server Service bus.
I get the following whenever I try using the Windows Server Service Bus (e.g. NamespaceManager.QueueExists):
System.ArgumentException : The remote server returned an error: (400) Bad Request. The api-version in the query string is not supported. Either remove it from the Uri or use one of 2012-03,2012-08,2013-04,2013-07...
I suspect I need to add api-version to NamespaceManager.CreateFromConnectionString but I just can't seem to 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 stuff api-version=2013-07 it doesn't like it.
MTIA
Andy