SignalR 1.01 hubs in ASP.Net: storing group information across pages

stuartbison

New Member
I am currently building a SignalR application (using ASP.Net MVC4, on IIS7 with SQL-Server-Express 2008 R2), where users enter a lobby and are placed into groups and then interact on different pages. Html5 LocalStorage is a requirement for any participant, so I can store group information on the client side.I have two questions about the application design related to SignalR group memberships:1) What is the best way to store group membership on the server? a singleton variable, a database with group and connection IDs or something different? Would a database be a problem with SQL-Server-Express and about 100-200 users?2) What will change and fire during page changes? Do I have to renew group memberships manually, do the disconnect/reconnect fire and if yes can I distinguish this type of disconnect from users leaving for good?
 
Top