SignalR /signalr/hubs 404 Not Found

前端 未结 14 1411
时光说笑
时光说笑 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条回答
  •  太阳男子
    2020-12-29 03:45

    there are potentially many causes of this 404 - a few common ones can be found by

    • Hit the url in the browser /signalr/hubs - if there is an error, you will see the full error come back.
    • check for duplication of HubName attribute if you have base class
    • ensure you have the correct version referenced in all projects (as to avoid binding errors)

提交回复
热议问题