what is meant by connection pooling and event pumbling in
ado.net

Answer Posted / gyany

Connection Pooling:-
Connection pooling reduces the number of times that new
connections need to be opened. The pooler maintains
ownership of the physical connection. It manages
connections by keeping alive a set of active connections
for each given connection configuration. Whenever a user
calls Open on a connection, the pooler looks to see if
there is an available connection in the pool. If a pooled
connection is available, it returns it to the caller
instead of opening a new connection. When the application
calls Close on the connection, the pooler returns it to the
pooled set of active connections instead of actually
closing it. Once the connection is returned to the pool, it
is ready to be reused on the next Open call.

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which method in OLEDBAdapter is used to populate dataset with records?

557


Explain how to create dynamic gridview?

515


What is ado net stands for?

510


What is the difference between linq and ado.net?

507


What is an ado?

514






What is connection string?

522


What are the rules to implement connection pooling?

504


What are all the different methods under sqlcommand?

516


Explain the role of data provider in ado.net?

536


Why do we use sqldataadapter?

476


What are the different methods by which we can populate a dataset?

679


What is dataset object? Explain the various objects in dataset.

585


How to add a check box or a dropdown list to a column in a datagrid?

531


What is command class in ado.net?

472


What is ado recordset?

493