Home > Net > Links on C#ADO.NET to determine the number of connection pool
Links on C#ADO.NET to determine the number of connection pool
Time:09-24
Final exam there is a problem according to the code to determine the current number of connections link pool, there is a place to do not understand, understanding of the connection pool is created in a program or create the connection object is created when the call Close () or the dispose () some?
CodePudding user response:
Link of the pool, not the understanding of the connection pool, have the wrong number
CodePudding user response:
Created when, in fact, the client and the WEB server, Close () is the release of connection, generally a good program should be timely Close the connection, or reached the maximum number of connections of the WEB (such as IIS is generally 100) without timely release, the website will be the connection fails, is going to be a tragedy,