Released: Microsoft.Data.SqlClient 4.0 Preview 2

This post has been republished via RSS; it originally appeared at: New blog articles in Microsoft Tech Community.

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

REMEMBER: these articles are REPUBLISHED. Your best bet to get a reply is to follow the link at the top of the post to the ORIGINAL post! BUT you're more than welcome to start discussions here:

This site uses Akismet to reduce spam. Learn how your comment data is processed.