2
我在ASP.NET 4.0應用程序(在Windows 2008 RC2上,連接到SQL Server 2005數據庫)上運行了一些應用程序性能監視,並且注意到連接似乎沒有合併。我們運行特定用戶下的應用程序池並使用集成安全性。使用連接字符串如:Trusted_Connection vs集成安全性影響連接池
<add name="myConnection" connectionString="Server=DBSrv;Database=DB1;Trusted_Connection=true;" providerName="System.Data.SqlClient"/>
在預感上,我略微修改了連接字符串以使用集成安全語法而不是trusted_connection。進行更改後,連接開始使用連接池。
<add name="myConnection" connectionString="Server=DBSrv;Database=DB1;Persist Security Info=False;Integrated Security=SSPI;" providerName="System.Data.SqlClient"/>
我無法在任何地方找到任何表明這些格式會影響池的任何文檔。有沒有人遇到類似的東西?