Ahmedrz89

Results 6 comments of Ahmedrz89

I have a similar problem where FirstOrDefaultAsync with split query return empty children While ToListAsync return correct result Same query and same include but different result I have been trying...

thanks for your response I tried that, it won't work because the provider will also inject the DbContext and this code will stack overflow out project is massive and won't...

https://github.com/Ahmedrz89/abp_dbcontext you can check the TestApplicationService

[Dependency(ServiceLifetime.Scoped, ReplaceServices = true)] [ReplaceDbContext(typeof(IIdentityDbContext))] [ReplaceDbContext(typeof(ITenantManagementDbContext))] [ConnectionStringName("Default")] public class GatewayDbContext : AbpDbContext, ITenantManagementDbContext, IIdentityDbContext, IHasEventOutbox, IHasEventInbox, IScopedDependency I tried making DbContext scoped and it did fix the problem but you...

I know how the abp works an resolve dbcontext and I know using the provider resolve a consistent instance but that is not the problem, The problem is that third...

Hi Dear thanks for the effort I tried that but it seems masstransit keeps the instance beyond the request and I started getting context disposed exceptions and also masstransit dbcontext...