Last post Oct 28, 2014 12:44 PM by serkangecici
Oct 28, 2014 10:31 AM|serkangecici|LINK
Hi, I am developing Instant messaging application on SignalR 2 and ASP.NET MVC 5 platform. I have a problem regarding uniqueness of SignalR ConnectionIds;
when I open multiple tabs on my browser signalR generates new unique connectionId. And It couses confusion in mapping between site users and their SignalR connectionIds.
To figure out this problem I have found following solution, but I could not implement to my application bacause of "IConnectionIdGenerator" is not available on my platform.
How can I figure out that problem ?
Your quick support is appriciated.
public class MyConnectionFactory : IConnectionIdGenerator
public string GenerateConnectionId(IRequest request)
Oct 28, 2014 10:40 AM|sen338|LINK
Try this link http://stackoverflow.com/questions/14725051/signalr-iconnectionidgenerator-not-found-in-signalr-1-0rc2-release
Oct 28, 2014 12:44 PM|serkangecici|LINK
Thank you for your return.
I have found the solution :)
IUserIdProvider must be used instead of IConnectionIdGenerator in SignalR 2
here is the implemantation.