Ok, first of all, lets be agree on when license check operation will perform. https://support.abp.io/QA/Questions/69/#answer-d8bebebb-b714-3c1e-7fcb-39f437bc8ba3
According to following anwser, license check should only perform if envrionment value set to the "Development" Then why i need to expose my developer AbpLicenseCode to end user ?
Ensure that your appsettings.json has "AbpLicenseCode" key with your license code.
Can you check the
appsettings.json
file?
Why should i add license code to get rid off error message ?
**Note **: My migration is working properly even if there is error message on the console screen
ABP Framework version: v4.3 UI type:MVC DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): yes
Hello, I guess i can use same topic for the question. Unfortunately documentation doesn't mention about how to achieve multi-tenant usage
Is this background job aware of Tenant ?
By template default my HOST application capable to execute background jobs. I have a separate database for each of my tenants Tenant may want to execute background job which is need to update tenant's table
For this purpose i injected ICurrentTenant service to the Job and tenantId parameters to the job arguments
Is this correct approach
Second question Is there any possibility to get try count in the job code ?
public class BackgroundImportOperationUpdateJob : AsyncBackgroundJob<BackgroundImportOperationUpdateArgs>, ITransientDependency
{
private IModelManager ModelManager { get; }
private ICurrentTenant CurrentTenant { get; }
public BackgroundImportOperationUpdateJob(
IModelManager modelManager,
ICurrentTenant currentTenant)
{
ModelManager = modelManager;
CurrentTenant = currentTenant;
}
}
using (CurrentTenant.Change(args.TenantId))
{
// Perform operation with domain services in the selected tenant
}
Doh do i need to set this to able use Find and Get method ?
"If you don't pass any expression to the WithDetailsAsync method, then it includes all the details using the DefaultWithDetailsFunc option you provide."
https://docs.abp.io/en/abp/4.2/Entity-Framework-Core#defaultwithdetailsfunc
Hello, Thx for the reply. I'm sorry i didn't get it https://docs.abp.io/en/abp/4.2/Entity-Framework-Core#loading-related-entities
Why should i override WithDetailsAsync and WithDetails methods ?
I have problem with Find and Get Method not with WithDetailsAsync and
Wasn't your answer already implemented on base EfCoreRepository class? But somehow i need to pass relation info
Thx Alper. Somehow i thought that i override TenantAppService as it is. I forgot webhost and configuration injections..
thx for clarification
edit package.json, replace existing lepton theme with "@volo/abp.aspnetcore.mvc.ui.theme.commercial": "~4.2.1"
Why do you do this?
they dependencies is different, which will cause the problems you mentioned above.https://www.npmjs.com/package/@volo/abp.aspnetcore.mvc.ui.theme.lepton https://www.npmjs.com/package/@volo/abp.aspnetcore.mvc.ui.theme.commercial
Why i have to use @volo/abp.aspnetcore.mvc.ui.theme.lepton Is it like mandatory ? even if i don't use lepton theme should we get it ?
Infact I'm not instrested any client side package. I just created my theme based on shared and commercial packages. I'm just trying to fulfill shared and commercial package requirements.
Steps to reproduce the issue: