Last post Feb 28, 2017 02:10 AM by Cathy Zou
Feb 27, 2017 03:27 AM|ravininave|LINK
Hello, I need to develop a chat application. I search on forum and found some code from Signal R. But my requirement is quite different.
In our app we have 8-10 Managers who lead their own team members and the team members can chat only with their managers. Also managers can chat with their team members
only. Is there any code or example or suggestion on this.
I need to save to chat in database also.
Feb 27, 2017 06:29 AM|kaushalparik27|LINK
You should search for Multiple chat room/group in SignalR, here are some relevant articles/threads:
hope that helps./.
Feb 27, 2017 09:48 AM|Khuram.Shahzad|LINK
You can use SignalR for an application , For specific set of users you can use groups, you can dynamically create group as per need and then broadcast data to particular set of peoples, Users can be identified by their connectionId provided by signalR when
user get connected so we can map them with username for optimized filtering, You can have a dictionary and in that dictionary you can store username along with multiple connectionIds , one user cn have multiple connection opens like multiple tabs of browser
or multiple browsers.Then you can broadcast message as per your need, Hub provide these all fetures. here is integration of SignalR in .Net core and some basic hub feature
To store data you can use Redis as it is very fast in performance.
Feb 28, 2017 02:10 AM|Cathy Zou|LINK
There is some good article about how to create group chat room.
You could refer to it.
Hope it is helpful: