.Net allows connection pooling which based on what I’ve read is simply by adding parameters to App.config
The question is, am I suppose to do anything in my code to use the connection pool?
In my code I open a connection every time data is needed and I close it as soon as I’m done. Am i suppose to do anything special to reuse connections?
You don’t need to do anything special as long as your connections use the same connection string. Use the connection, close it and will automatically return to the pool.
From SQL Server connection pooling:
You can configure certain pool related options in the connection string itself: