title: Does Entity Framework Core have connection resiliency configured by default?
body: <p>I am reading <a href="https://docs.microsoft.com/en-us/ef/core/miscellaneous/connection-resiliency" rel="nofollow noreferrer">through the documentation on connection resiliency in Entity Framework Core</a> and learned that connection resiliency can be configured in ASP.NET Core while configuring the service:</p>
  
  <pre><code>public void ConfigureServices(IServiceCollection services)
  {
      services.AddDbContext&lt;PicnicContext&gt;(
          options =&gt; options.UseSqlServer(
              "&lt;connection string&gt;",
              providerOptions =&gt; providerOptions.EnableRetryOnFailure()));
  }
  </code></pre>
  
  <p>I noticed for other services, such as the Azure Search client, retry mechanisms are enabled by default. Is this the case for Entity Framework Core (3.1.3) as well, or do I need to explicitly call <code>providerOptions =&gt; providerOptions.EnableRetryOnFailure()</code>?</p>
  
  <p>The <a href="https://docs.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore.infrastructure.sqlserverdbcontextoptionsbuilder?view=efcore-3.1" rel="nofollow noreferrer"><code>SqlServerDbContextOptionsBuilder</code> documentation</a> does not provide much details on what the defaults are.</p>