对于Asp.net核心应用程序,我们必须使用哪一个?AddDbContext还是AddDbContextPool?根据EF Core文档,AddDbContextPool提供高性能但默认的Asp.net Core项目模板使用AddDbContext.
AddDbContext
AddDbContextPool
entity-framework-core asp.net-core asp.net-core-2.0
在SQL Server的连接字符串中有max pool size选项.我的问题是这个连接池在.net端或服务器端管理和维护的位置是什么?
max pool size
.net sql-server
.net ×1
asp.net-core ×1
asp.net-core-2.0 ×1
entity-framework-core ×1
sql-server ×1