Friday, March 11, 2022

Released: Microsoft.Data.SqlClient 5.0 Preview 1

Microsoft.Data.SqlClient 5.0 Preview 1 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 or three preview releases in between. This cadence should provide time for feedback and allow us to deliver features and fixes in a timely manner. This first 5.0 preview includes fixes and changes over the previous 4.0 GA release.


Notable changes include:


  • Added SqlDataSourceEnumerator. Read more
  • Added new attestation protocol None option to forgo enclave attestation when using VBS enclaves. Read more
  • Fixed thread safety issue for GetEnclaveProvider by converting dictionary to concurrent dictionary.


For the full list of changes in Microsoft.Data.SqlClient 5.0 Preview 1, 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 5.0 preview 1 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

Posted at