Hey, thanks for your response. I am running Abp Version 2.0.2 here. What is the expected result anyway? If a tenant-user uploads a Css/Logo, which UserId should be set as LastModifiedUser?
Hi,
i did not override OnModelCreating.
May it cause a problem that in the .application Project is another dbcontext (for some legacy reasons - we migrate an existing web-app)?
thanks for your help.
Hi,
same problem when i try to inject the TenantAppService:
Can't create component '_1701apps.effairs.MultiTenancy.TenantManager' as it has dependencies to be satisfied.
'_1701apps.effairs.MultiTenancy.TenantManager' is waiting for the following dependencies:
I use the top-service (emailservice, wich then uses tenant an jobservice) from a ApiController - maybe this matters?
Hi,
i added some custom entities like that:
namespace xxx.EntityFramework
{
public class MeDbContext : AbpZeroDbContext<Tenant, Role, User>
{
/* Define an IDbSet for each entity of the application */
public virtual IDbSet<MeLogEntry> MeLogEntries { get; set; }
public virtual IDbSet<MeApiKey> MeApiKeys { get; set; }
public virtual IDbSet<MeBlacklist> MeBlackLists { get; set; }
...
Hi,
thanks a lot - it works.
Now i ran into another problem. my main website should only start backgroundjobs and display it's progress etc. (including hangfire dashboard)
and a second "worker" website - hosted on another server should process the jobs.
so i tried:
Configuration.BackgroundJobs.IsJobExecutionEnabled = false;
in the website (webmodule->PreInitialize()) to prevent processing. But i seams that this setting is beeing ignored. Website is processing jobs too.
Is there another option to prevent processing jobs by hangfire? any hint for me?
best regards Martin