SignalR connection won't start to IIS-hosted app

后端 未结 1 1225
你的背包
你的背包 2021-01-26 19:00

I made an application, and am trying to connect to the backend via SignalR.

The ASP.NET Core 3.1 backend is hosted in IIS for easy development.

Calling the Start

相关标签:
1条回答
  • 2021-01-26 19:32

    So I actually found the answer myself:

    Websocket support is not enabled by default on IIS. It was introduced in IIS 8, and has to be enabled from windows' optional features: https://docs.microsoft.com/en-us/iis/get-started/whats-new-in-iis-8/iis-80-websocket-protocol-support

    Optional features -> IIS -> WWW services -> App Dev Features -> Websocket protocol

    0 讨论(0)
提交回复
热议问题