SignalR /signalr/hubs 404 Not Found

前端 未结 14 1379
时光说笑
时光说笑 2020-12-29 03:16

I am trying to deploy a SignalR site on IIS. Code all works fine in VS. But getting the 404 not found error trying to resolve signalr/hubs so far I have tri

14条回答
  •  旧时难觅i
    2020-12-29 03:37

    If you are working on webforms, Please take the following steps

    1. In the webconfig:

      
      
      
    2. In the page add reference to hub as

      
      

      instead of

      
      

提交回复
热议问题