Hi,
id and tenant name both ok.
How to use localization in SettingPageContributor.
Hi, you can try:
var l = context.ServiceProvider.GetRequiredService<IStringLocalizer<YourResource>>();
settingGroup.DisplayName = l["..."]
we want to hide 'Public Website Style' control in Theme Tab and how to hide any control in any tab in settings.
You can overwrite the theme setting page: https://docs.abp.io/en/abp/latest/UI/AspNetCore/Customization-User-Interface
You can use the abp get-source Volo.LeptonTheme
command to down LeptonTheme source code.
Hi,
Are you using HTTPS? please share the detail of the requests(headers, and cookies).
Also, can you test it via incognito tab? maybe it's your local cookie problem.
Hi, sorry I'm later.
Can you tell me the best way to implement the configuration of having all these core tables in the Host DB and only Tenant specific tables (our application tables) in the individual tenant DB's?
You can custom the connection string resolver to use host's connect string: https://docs.abp.io/en/abp/latest/Connection-Strings
For example:
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IConnectionStringResolver))]
public class MyMultiTenantConnectionStringResolver : MultiTenantConnectionStringResolver
{
private readonly ICurrentTenant _currentTenant;
public MyMultiTenantConnectionStringResolver(
IOptionsSnapshot<AbpDbConnectionOptions> options,
ICurrentTenant currentTenant,
IServiceProvider serviceProvider) : base(options, currentTenant, serviceProvider)
{
_currentTenant = currentTenant;
}
public override Task<string> ResolveAsync(string connectionStringName = null)
{
if (_currentTenant.IsAvailable)
{
if (connectionStringName == "Volo.Abp.Identity.EntityFrameworkCore.IIdentityProDbContext")
{
//.. return host's connection string
}
//Replace with the following code when 5.0 is released
if (connectionStringName == AbpIdentityDbProperties.ConnectionStringName)
{
//.. return host's connection string
}
}
//....
}
}
Hi,
ABP framework open source all packages are support source link.
You can check: https://docs.microsoft.com/en-us/visualstudio/debugger/how-to-debug-dotnet-framework-source?view=vs-2019
Hi,
Can you check this?
https://support.abp.io/QA/Questions/1386/Can't-log-in-as-new-tenant#answer-a265843f-df4c-4f23-9128-39fcdeeec049
Hi,
Can you check these document first?
https://docs.abp.io/en/abp/latest/Migration-Guides/Index https://docs.abp.io/en/commercial/latest/migration-guides/index
Hi,
I think you can do it through the ocelot gateway: https://ocelot.readthedocs.io/en/latest/features/loadbalancer.html#custom-load-balancers
You can custom a loadbalancer to select product instance 2 for tenant C
Hi,
The project you provided is complex, I actually can't build solution, can you use suite to create a new project to reproduce it? thanks.
Hi,
Can you share your dbcontext code?