SignalR what happens if user is inactive?
问题 I would like to know what will happen if the user is inactive. Imagine user connected to the hub, the connection is established, but user doesn't refresh the page or doesn't do anything for an hour ... will the connection be maintained anyway? And after that time can the message be pushed to him? 回答1: SignalR sends keep-alive messages which will keep the connection open even if there is no other activity (except for long-polling connections; in that case, the client will make its regular ajax