Why don't we use AddDbContextPool instead of AddDbContext?
sadqiang opened this issue · comments
Smiling Baby commented
New features in EF Core 2.0 explains there is AddDbContextPool
for gaining high performance. Why don't we use it?
Nate Barbettini commented
Looks like a really cool feature!
Why don't we use it?
It's out of scope for this simple project. This book doesn't try to teach readers everything about EF Core. There are dedicated EF Core books just for that (if not, you should write one! 😄). The goal of this book is to get the reader interested in learning more.