"signalr negotiate 404 on subdomain" Code Answer

48

You can continue to use the generated hubs file. You just need to modify the hubConnection's url (which stored at $.connection.hub.url) before you start your SignalR connection.

// This is initially set to "/chat/signalr" as specified in the hubs file
$.connection.hub.url = "/signalr";
$.connection.hub.start()...
By Erik Pearson on March 15 2022

Answers related to “signalr negotiate 404 on subdomain”

Only authorized users can answer the Search term. Please sign in first, or register a free account.