/signalr/hubs 404 not found after update to MVC5

后端 未结 3 1814
心在旅途
心在旅途 2021-01-12 15:57

SignalR was working while project was ASP.NET MVC3. Now i upgraded it to MVC5 (not so easy to do, I must tell you).

Then I noticed that signalR was not working. I we

3条回答
  •  日久生厌
    2021-01-12 16:32

    You need to install Microsoft.Owin.Host.SystemWeb package in the project

    Verify this link

    If package is not installed then install the following package from the Package Manager Console (PMC):

    Install-Package Microsoft.Owin.Host.SystemWeb

    UPDATE

    It purely says that, its not able to detect your startup class, here are few more findings.

    • I believe this key is no more exist in config file
    • Your application might be cached in temp folder, try deleting temporary files for your application.(Go to run > %TEMP% > CTRL + A > Delete)

    This should definitely work, if it doesn't then try creating signalR in sample project.

提交回复
热议问题