Basic Dot Net Question:

Download Job Interview Questions and Answers PDF

What is connection pooling and how do you make your application use it?

Dot Net Interview Question
Dot Net Interview Question

Answer:

Opening database connection is a time consuming operation. Connection pooling increases the performance of the applications by reusing the active database connections instead of create new connection for every request.
Connection pooling Behavior is controlled by the connection string parameters.
Following the the 4 parameters that control most of the connection pooling behavior.
1. Connect Timeout
2. Max Pool Size
3. Min Pool Size
4. Pooling
Please go through the following link as well
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q169470

Download Dot Net Interview Questions And Answers PDF

Previous QuestionNext Question
What is Delegate and what is it used for? Which dll is required to translate XML to SQL in Internet Information Server (IIS)?