Press "Enter" to skip to content

Configurable Retry in Microsoft.Data.SqlClient

Jerry Nixon tries it again:

Based on telemetry, a startling number of applications haven’t read the memo and updated. So, let me take a moment to talk about an incredible feature of SqlClient we previewed in 2021: Configurable Retry Logic for SqlConnection and SqlCommand. This native implementation of resiliency bypassing the need for third-party libraries like Polly, providing incredible handling of transient availability right out of the box.

Click through to see how it works, particularly in light of Polly’s controversial licensing change.