locked
signalr/hub is not generated RRS feed

  • Question

  • User-1634604574 posted

    i have this error how can i solve it?

    jquery.signalR-2.4.1.js:251 Uncaught Error: SignalR: Error loading hubs. Ensure your hubs reference is correct, e.g. <script src='/signalr/js'></script>.
    at Object.start (jquery.signalR-2.4.1.js:251)
    at Index:58

    Friday, June 28, 2019 2:49 PM

All replies

  • User283571144 posted

    Hi zhyanadil.it@gmail.com,

    According to your description, I couldn't directly find out the reason why you get this error.

    Could you please tell me the signlar client-side and server-side(hub method) is in the same web application?

    Besides, I suggest you could check your startup.cs file to make sure you have add the app.MapSignalR(); method.

    If possbile, please explain more about how to create your signalr application in your web application.

    Best Regards,

    Brando

    Monday, July 1, 2019 6:16 AM