I want to switch my Signal-R to Azure. So I added Azure-Signal-R Service to rthe server and use it. I think this is working fine. But I'm not able to connect with the client to it.
I'm not sure what is the right url for the server. Do I have to add /client?
https://mysuburl.service.signalr.net" + "/client?hub=testhub or do I use https://mysuburl.service.signalr.net" + "/testhub
For the hub I use:
connection = new HubConnectionBuilder() .WithUrl(mWebAPISignalRServer, option => { option.AccessTokenProvider = () => { return Task.FromResult("mytoken"); }; }) .WithAutomaticReconnect() .Build();
Any ideas?
2.1m questions
2.1m answers
60 comments
57.0k users