0
avanekar02 created
Do you have a functionality to track total users visited site as out of the box functionality.
Regards Anwar
1 Answer(s)
-
0
You can use IOnlineClientManager Inject IOnlineClientManager in your class and then you can get online users of current tenant like this,
int onlineUsersCount = _onlineClientManager.GetAllClients().Count;
Read the following doc; <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/SignalR-Integration#online-clients">https://aspnetboilerplate.com/Pages/Doc ... ne-clients</a>