Released: Microsoft.Data.SqlClient 4.0 Preview 2
Published Sep 21 2021 03:08 PM 1,949 Views
Steel Contributor

Microsoft.Data.SqlClient 4.0 Preview 2 has been released. This release contains improvements and updates to the Microsoft.Data.SqlClient data provider for SQL Server.

Our plan is to provide GA releases twice a year with two preview releases in between. This cadence should provide time for feedback and allow us to deliver features and fixes in a timely manner. This second 4.0 preview includes many fixes and changes over the previous 4.0 Preview 1 release.


Notable changes include:

  • The Configurable Retry Logic safety switch has been removed

    While the behavior of SqlClient remains the same (no additional retries, by default), applications no longer have to set the AppContext switch to take advantage of the built-in configurable retry logic. #1254

  • SqlFileStream is now supported in Windows when targeting .NET Standard 2.0


For the full list of changes and fixes in Microsoft.Data.SqlClient 4.0 Preview 2, please see the Release Notes.


To try out the new package, add a NuGet reference to Microsoft.Data.SqlClient in your application and pick the 4.0 preview 2 version.


We appreciate the time and effort you spend checking out our previews. It makes the final product that much better. If you encounter any issues or have any feedback, head over to the SqlClient GitHub repository and submit an issue.


David Engel

Version history
Last update:
‎Sep 21 2021 03:08 PM
Updated by: