How to keep track of established connections using WebSockets

后端 未结 2 466
旧巷少年郎
旧巷少年郎 2021-01-13 03:40

I am trying to get a real-time chat service for cross-platform devices to life. The problem is that System.Net.WebSockets namespace doesn\'t allow me directly

2条回答
  •  深忆病人
    2021-01-13 03:48

    I guess reinventing the wheel would be very stupid, so I better use SignalR for this purpose.

    Thanks @Jonesy for making me aware of this Microsoft library!

    edit:

    SignalR doesn't work properly on non-"IIS Express" mode. "Local IIS" causes the whole project to fail.

    edit:

    SignalR works now. A rewrite rule made it impossible to get the proper path.

提交回复
热议问题