This article is contributed. See the original author and article here.

Microsoft.Data.SqlClient 5.2 Preview 3 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 third 5.2 preview includes fixes and changes over the previous preview release.


 


Added



  • Added a new AccessTokenCallBack API to SqlConnection. #1260

  • Added support for the SuperSocketNetLib registry option for Encrypt on .NET on Windows. #2047


Fixed



  • Fixed SqlDataAdapter.Fill and configurable retry logic issue on .NET Framework. #2084

  • Fixed SqlConnectionEncryptOption type conversion by introducing the SqlConnectionEncryptOptionConverter attribute when using appsettings.json files. #2057

  • Fixed th-TH culture info issue on Managed SNI. #2066


Changed



  • Switched to the new .NET NegotiateAuthentication API on .NET 7.0 and above for SSPI token negotiation using Managed SNI. #2063

  • Removed ignoreSniOpenTimeout in open connection process on Windows. #2067

  • Enforce explicit ordinal for internal StringComparison operations. #2068

  • Code health improvements: #1959, #2071, #2073, #2088


 


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

Brought to you by Dr. Ware, Microsoft Office 365 Silver Partner, Charleston SC.