Pooling in asp.net

I have searched for it back in stackoverflow with no success ...

Is it possible to pool connections in asp.net? It costs? How?

0
database asp.net ado.net


source to share


2 answers


It's actually really simple, just add the following parameters to your connection string and (either in code or in your web.config file) and ASP.NET will take the rest:

Min Pool Size=5; Max Pool Size=60; Connect Timeout=300;

      



Note. The connection timeout is in seconds and is not required.

+3


source to share


the default maximum pool is 100



+1


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics