Visual Studio Code – SignalR doesn't work while published on IIS
My .NET Core 6 code runs perfectly on Visual Studio 2022, but when my app is published to a server running IIS, my SignalR functionality stops working. JavaScript: const connection = new signalR.HubConnectionBuilder().withUrl("/checkproduct").build(); program.cs: app.MapHub<ProductHub>("/checkproduct"); Error Message: Failed to load…