signalr/hubs is not defined RRS feed

  • Question

  • User-194051773 posted

    Hi, I am using MVC 4 and .netframework 4.5.1 . I want to draw flowchart using Mindfusion but while using signalr (2.4.1) I am getting error Signalr/hubs 4o4 error. Please help me how can I resolve it I tried maximum solutions which are available on google but have not got success. Please help 

    Tuesday, May 7, 2019 6:54 AM

All replies

  • User61956409 posted

    Hi rakhis,

    Welcome to ASP.NET forums.

    getting error Signalr/hubs 4o4 error.

    Please make sure you call MapSignalR() in Startup.cs, like below.

    public class Startup
        public void Configuration(IAppBuilder app)
            // Any connection or hub wire up and configuration should go here

    Besides, please make sure reference the auto-generated SignalR hub script in your web page. And this tutorial shows how to use ASP.NET SignalR 2 with MVC application, you can refer to it, or download the complete sample code to quick setup project.


    With Regards,

    Fei Han

    Tuesday, May 7, 2019 8:22 AM