Managing SignalR connections for Anonymous user
问题 I am using SignalR version 2.1.2 with ASP.Net MVC 5 & NServiceBus and have following requirement There is a signup page (anonymous authentication) in which SignalR is used to send notifications. Every form submit will generate a new connection id which needs to be kept in a collection so that I can send response to the client. Context.User.Identity.Name is empty hence _connections.Add(name, Context.ConnectionId); cannot be used in OnConnected() hub event as given in this post Similar problem