Hi,
To improve performance, we cache permissions and settings etc, so we need distributed caching to keep public and back-end website data consistent.
Hi,
Sorry, I said is not very clear, that are two different solutions.
The first solution, you need to make sure the mongodb server support transcations.
the second solution is delete the code that uses the unit of work.
Hi,
ABP use transactions to handle migrations, you need to enable transactions for mongodb server for complex operations.
There are two ways:
1 Enabled transcation for mongodb server, Open MongoDbModule
, replace options.TransactionBehavior = UnitOfWorkTransactionBehavior.Disabled;
to options.TransactionBehavior = UnitOfWorkTransactionBehavior.Enabled;
2.Open *TenantDatabaseMigrationHandler
class, replace _unitOfWorkManager.Begin(requiresNew: true, isTransactional: true)
to _unitOfWorkManager.Begin(requiresNew: true, isTransactional: false)
Hi,
I will check it out
Hi,
You can refer the unit tests: https://github.com/abpframework/abp/pull/8153/files#diff-d73ab7794fbad910dc395d2188bdf3692f9a312a4efa69cbdb5cf7be41129ee3R45
HI,
See https://github.com/abpframework/abp/pull/9701
It is available in 5.0
Delete the DbContextModelCreatingExtensions
will work.
Can I check it remotely? shiwei.liang@volosoft.com
Hi,
You can remove the abp suite cache and try again.
C:\Users\<username>\.abp\suite
Use IdentityUser
replace AppUser
.