最佳答案
For Asp.net Core apps, which one do we have to use? AddDbContext
or AddDbContextPool
? According to EF Core documentation, AddDbContextPool
provides high performance but the default Asp.net Core project templates use AddDbContext
.