Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 608 Bytes

README.md

File metadata and controls

11 lines (6 loc) · 608 Bytes

.NET

Disconnectable SignalR demo

SignalR does not support disconnect client from server. This is a demo project to solve the problem.

It bulids a web chatroom, each browser tab open a new WebSocket connection. Everyone could send message to others and kick them out.

WebSocket connections and their contexts are saved in a Dictionary. Connection manager class uses dependency injection into the hub.

Framework: .net 5