Something went wrong. Try again.
simple chat app using ASP.net core SignalR and MongoDB
Something went wrong. Try again.
12345678910111213using Chat.Models;using System.Collections.Concurrent;
namespace Chat.DataService{ public class SharedDb { private readonly ConcurrentDictionary<string, UserConnection> _connections = new ConcurrentDictionary<string, UserConnection>();
public ConcurrentDictionary<string, UserConnection> connections => _connections; }}