Activities of "maliming"

ok, Sorry for that.

Does the code work now?

Thanks.

hi

No, it always takes about 200-300ms on my computer. Can you change the environment to test again?

Thanks.

hi

I use https://github.com/maliming/PortalApi-main project with brand new SQL server database.

Migrate and run API.Host. Login admin user, then check the permission endpoint.

Here are the results, as you can see, the response time is about 200-300ms

Yes, requiresNew should be true

hi

Please check: https://abp.io/community/articles/understanding-transactions-in-abp-unit-of-work-0r248xsr

Great!

You have started a new uow. That’s no problem.

using (var uow = UnitOfWorkManager.Begin(requiresNew: true, isTransactional: true, isolationLevel: System.Data.IsolationLevel.ReadCommitted))
{
    using (_dataFilter.Disable())
    {
        reportPeriodId = await _reportDataRepository.CollectDataAsync(reportCode, paraObject.ReportDate, paraObject.Department, keyValueParams);
    }

    await uow.CompleteAsync();
}

You can enable the debug log of EF Core to see the SQL statement(EnableSensitiveDataLogging).

https://abp.io/support/questions/8622/How-to-enable-Debug-logs-for-troubleshoot-problems

hi

I can't understand your problem. Can you share some test code so that I can reproduce it on my computer?

Thanks.

hi

Please try to begin a new UOW instead of using [UnitOfWork(true, System.Data.IsolationLevel.ReadCommitted)]

See https://abp.io/community/articles/understanding-transactions-in-abp-unit-of-work-0r248xsr

hi

Please use these code to override the login and register class.

https://we.tl/t-YQ7tQxfSjw

Showing 3841 to 3850 of 12930 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on November 02, 2026, 06:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.