SignalR /signalr/hubs 404 Not Found

前端 未结 14 1409
时光说笑
时光说笑 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:54

    In my case, I lose some owin dependencies then I got the 404 NotFound error.

    When I added following dependencies, I retrieve the proxy javascript file clearly from expecting URL. Like URL:1111/singlar/hubs

    • Microsoft.Owin
    • Microsoft.Owin.Core
    • Microsoft.Owin.Host.SystemWeb
    • Microsoft.Owin.Security
    • Owin

    Hope the answer helps someone.

提交回复
热议问题