This was a question asked in an interview and I was wondering whether there is any hard and fast rule to keep a connection open for a certain amount of time?
Asked
Active
Viewed 70 times
1 Answers
2
The correct answer is "as shortest time possible because ado.net supports connection pooling and closed connections can be reused as long as the connection string is the same"

Scott Chamberlain
- 124,994
- 33
- 282
- 431