Open Closed

Enabling DbContext Pooling #4349


User avatar
0
geegee created

How can we enable DbContext Pooling as described here:- https://learn.microsoft.com/en-us/ef/core/performance/advanced-performance-topics?tabs=with-di%2Cwith-constant

It has some performance advantages as described in the documentation above.

Considering that the abp codebase uses the following pattern to configure dbcontext.

How would we enable dbContext pooling?

  • ABP Framework version: v7.0.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

1 Answer(s)
  • User Avatar
    1
    maliming created
    Support Team Fullstack Developer

    hi

    ABP does not support DbContext pooling now, I will check it again.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 26, 2024, 06:07