I didn't use Tieredproject
The project already enabled the multi-tenant feature.
if (MultiTenancyConsts.IsEnabled) { app.UseMultiTenancy(); }
Okay I know, but how I can distinguish between tenants for the anonymous users without login
hi
Did you use the
Tiered
project? Please check theappsettings.json
ofweb.public
if so, the
web.public
will get data fromapi
, which means you don't need to enable themulti-tenant
feature.
hi
I didn't use Tiered
project
hi
What is the purpose of using it?
I have multi-tenant and I want to display only data for every tenant in public site
If you're creating a bug/problem report, please include followings:
Hi there.
Is there any way to use multi-tenant in project web.public
You can consider passing services or
IServiceProvider
to static method.
This method deep nested , I need to pass IServiceProvider to all methods !.
I need efficient way more than this
hi
Can you share your static class?
public static class AssignmentExtensions
{
public static string AssignmentTypeHelper(this Assignment target, IStringLocalizer localize)
{
string assignmentType = string.Empty;
if (target.IsTemporary)
{
if (target.IsGuard()) assignmentType = $"{localize["Guard"]} - {localize["General.Temporary"]}";
if (target.IsReservedGuard()) assignmentType = $"{localize["ReservedGuard"]} - {localize["General.Temporary"]}";
if (target.IsFieldSupervisor())
{
assignmentType = $"{localize["FieldSupervisor"]} - {localize["General.Temporary"]}";
}
}
else
{
assignmentType = $"{localize["Guard"]} - {localize["General.Permanently"]}";
}
return assignmentType;
}
}
Hi there ...
I need to inject service in static class. Is there any way in abp to do this please :)
Hi.
We need to use libraries like css in empty layout because we need priniting page like this :
https://x.leptontheme.com/custom-pages/invoice/
Thanx.
I opened this ticket 14 days ago and It has not been answered yet. can you answer this question please :https://support.abp.io/QA/Questions/3914/Empty-layout-in-leptonX