Is there any circumstance in which the DbConnection.ConnectionTimeout can be exceeded when executing Open() method?

53 Views Asked by At

I was monitoring my web application (hosted on azure with db azuresql) I found that, occasionally, there is a failure to establish the connection to the database, and the Open() method can take up to 40 seconds to fail (with a timeout exception). It turns out that in the connection string I have defined a "Connection Timeout" of 5 seconds.

Is there any circumstance in which the DbConnection.ConnectionTimeout can be exceeded when executing Open() method?

0

There are 0 best solutions below