"signalr negotiate 404 on subdomain" Code Answer


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";
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.