Duplicate of #7213
It's there.
To access the ASP<span></span>.NET Zero private GitHub repositories, invite yourself to become a member of the ASP<span></span>.NET Zero organization using your GitHub username: https://aspnetzero.com/LicenseManagement
I injected IOnlineClientManager but didn't see GetByUserIdorNull rather it's GetAllByUserId.
That's correct, since a user can have more than one client connection. That line in the documentation is outdated.
And there is no clear documentation on how to get the number of active users.
GetAllClients
, group by client.UserId
and then count.
You upgraded your ASP<span></span>.NET Zero Power Tools for Metronic v6, which changed its CSS prefix.
Simply set the static
property:
BackgroundJobInfo.DefaultTimeout = 864000; // 10 days (as seconds)
The documentation for ASP<span></span>.NET Boilerplate, which ASP<span></span>.NET Zero is built on: https://aspnetboilerplate.com/Pages/Documents/Background-Jobs-And-Workers
@Homam Tracked in aspnetzero/aspnet-zero-core#731.
Please read the documentation: https://aspnetboilerplate.com/Pages/Documents/Notification-System
From the documentation on SignalR AspNetCore Integration - Online Clients:
ASP<span></span>.NET Boilerplate provides the
IOnlineClientManager
to get information about online users (injectIOnlineClientManager
and useGetByUserIdOrNull
,GetAllClients
,IsOnline
methods for example).
This does not seem to be related to Stripe integration but (edition) subscriptions.
Tracked in aspnetzero/aspnet-zero-core#731.
I suggest implementing TenantRoles
in a similar way to OrganizationUnitRoles
for this.
You can refer to the OrganizationUnitRoles
PR: aspnetboilerplate/aspnetboilerplate#4242
Also, use static roles that cannot be deleted. You can refer to the Roles documentation: https://aspnetboilerplate.com/Pages/Documents/Zero/Role-Management#dynamic-vs-static-roles