I am playing around with Azure Services Bus trying to do some Publish/Subscription. Everything works as it should but when I am trying to create a client from a connectionstring it takes really long time to do the connection. It takes around 22 seconds, to create a client.
this is how it's done.
var subscriptionClient1 = SubscriptionClient.CreateFromConnectionString(_connectionstring, "testTopic", "testSubscription");
When that first connection is made it's fast it takes 2ms to create a new client. So I guess most of the time is to create a connection to azure and verify the security context.
My question is, is it that slow for everybody else? (if not then I guess it's our network setup that makes it slow) Is there another way to do the connection and creation of clients that might be faster?
Best regards Magnus