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?
1.4m articles
1.4m replys
5 comments
57.0k users