.net - Share SqlConnection object in ASP.NET Web App Between DB calls -
Whether efficiently sharing a single SqlConnection instance between at least one page or between a single request or a whole app call Is there any way to do this?
If you are using Which database are you using? - Connection pooling may vary depending on the type of database. You can always verify it by monitoring your database server connection. For example, on SQL Server, sp_who2 will list all the connections to see the connection (connections) from your machine and see spid (each Unique identity for connection) remains the same among your web application page loads. ADO.NET or a framework that Uses
ADO.NET , so it's already possible for you.
Comments
Post a Comment