Here is something that surprised me: SqlConnectionStringBuilder sets the Pooling property to true by default.
SqlConnectionStringBuilder sets the Pooling property to true by default
Leave a comment ?
Here is something that surprised me: SqlConnectionStringBuilder sets the Pooling property to true by default.
Why would you not want it pooled by default?
I agree that in general connection pooling is something desirable. But sometimes you don’t want to pay upfront (allocating system resources you don’t need) or suffer the pain when some applications don’t behave well.