Blog Post

SQL Server Blog
2 MIN READ

Released: General Availability of Microsoft.Data.SqlClient 3.0

David-Engel's avatar
David-Engel
Steel Contributor
Jun 09, 2021

We have released for general availability Microsoft.Data.SqlClient 3.0. This .NET Data Provider for SQL Server provides general connectivity to the database and supports all the latest SQL Server features for applications targeting .NET Framework, .NET Core, and .NET Standard.

 

To try out the new package, add a NuGet reference to Microsoft.Data.SqlClient in your application.

 

If you've been following our preview releases, you know we've been busy working to add features and improve stability and performance of the Microsoft.Data.SqlClient library.

 

Some of the highlights of new features in 3.0 over the 2.1 release of Microsoft.Data.SqlClient include:

 

There are a few minor breaking changes in 3.0 over previous releases.

  • .NET Framework 4.6.1 is the new minimum .NET Framework version supported
  • The User Id connection property now requires Client Id instead of Object Id for User-Assigned Managed Identity when using the Active Directory Managed Identity authentication option
  • SqlDataReader now returns a DBNull value instead of an empty byte[] for RowVersion/Timestamp values. Legacy behavior can be enabled by setting an AppContext switch.

 

For the full list of added features, fixes, and changes in Microsoft.Data.SqlClient 3.0, please see the Release Notes.

 

Again, to try out the new package, add a NuGet reference to Microsoft.Data.SqlClient in your application. If you encounter any issues or have any feedback, head over to the SqlClient GitHub repository and submit an issue.

 

David Engel

 

 

Published Jun 09, 2021
Version 1.0
No CommentsBe the first to comment