Home
%3CLINGO-SUB%20id%3D%22lingo-sub-740459%22%20slang%3D%22en-US%22%3EReleased%3A%20Second%20Public%20Preview%20of%20Microsoft.Data.SqlClient%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-740459%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20addressing%20issues%20from%20the%20first%20preview%20of%20Microsoft.Data.SqlClient%20and%20looking%20for%20additional%20feedback%20on%20the%20new%20library%20and%20features%20introduced%20in%20the%20first%20preview.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20try%20out%20the%20new%20package%2C%20add%20a%20%3CA%20href%3D%22https%3A%2F%2Fwww.nuget.org%2Fpackages%2FMicrosoft.Data.SqlClient%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3ENuGet%20reference%20to%20Microsoft.Data.SqlServer%3C%2FA%3E%20in%20your%20application.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20addressed%20the%20Microsoft.SqlServer.Server%20namespace%20conflict%20apparent%20from%20the%20first%20preview%20by%20moving%20the%20relevant%20classes%20under%20Microsoft.Data.SqlClient.Server.%20The%20relevant%20classes%20include%20SqlDataRecord%2C%20SqlMetaData%2C%20and%20classes%20used%20for%20User%20Data%20Types%20(UDTs).%20We%20are%20aware%20of%20limitations%20related%20to%20reading%20and%20writing%20UDTs%20using%20Microsoft.Data.SqlClient%20and%20are%20working%20on%20making%20the%20library%20as%20compatible%20as%20possible%20with%20UDTs.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20other%20major%20change%20we%20made%20in%20this%20preview%20was%20splitting%20out%20the%20native%20code%20into%20its%20own%20library%20when%20targeting%20.NET%20Framework.%20This%20fixes%20the%20issue%20of%20only%20being%20able%20to%20target%20x64%20on%20.NET%20Framework%20when%20taking%20a%20dependency%20on%20the%20NuGet%20package.%20You%20can%20now%20target%20x86%2C%20x64%2C%20or%20AnyCPU%20and%20Microsoft.Data.SqlClient.dll%20will%20load%20the%20appropriate%20x86%20or%20x64%20native%20library%20dependency%20at%20runtime.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20the%20current%20list%20of%20changes%20in%20Microsoft.Data.SqlClient%201.0%2C%20please%20see%20the%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fdotnet%2FSqlClient%2Fblob%2Fmaster%2Frelease-notes%2F1.0%2F1.0.md%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3ERelease%20Notes%3C%2FA%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAgain%2C%20to%20try%20out%20the%20new%20package%2C%20add%20a%20%3CA%20href%3D%22https%3A%2F%2Fwww.nuget.org%2Fpackages%2FMicrosoft.Data.SqlClient%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3ENuGet%20reference%20to%20Microsoft.Data.SqlServer%3C%2FA%3E%20in%20your%20application.%20We%20appreciate%20the%20time%20and%20effort%20you%20spend%20checking%20out%20our%20previews.%20It%20makes%20the%20final%20product%20that%20much%20better.%20If%20you%20encounter%20any%20issues%20or%20have%20any%20feedback%2C%20head%20over%20to%20the%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fdotnet%2FSqlClient%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3ESqlClient%20GitHub%20repository%3C%2FA%3E%20and%20submit%20an%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fdotnet%2FSqlClient%2Fissues%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Eissue%3C%2FA%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDavid%20Engel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-740459%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20addressing%20issues%20from%20the%20first%20preview%20of%20Microsoft.Data.SqlClient%20and%20looking%20for%20additional%20feedback%20on%20the%20new%20library%20and%20features%20introduced%20in%20the%20first%20preview.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-740459%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESQLServerDrivers%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Established Member

We are addressing issues from the first preview of Microsoft.Data.SqlClient and looking for additional feedback on the new library and features introduced in the first preview.

 

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

 

We have addressed the Microsoft.SqlServer.Server namespace conflict apparent from the first preview by moving the relevant classes under Microsoft.Data.SqlClient.Server. The relevant classes include SqlDataRecord, SqlMetaData, and classes used for User Data Types (UDTs). We are aware of limitations related to reading and writing UDTs using Microsoft.Data.SqlClient and are working on making the library as compatible as possible with UDTs.

 

The other major change we made in this preview was splitting out the native code into its own library when targeting .NET Framework. This fixes the issue of only being able to target x64 on .NET Framework when taking a dependency on the NuGet package. You can now target x86, x64, or AnyCPU and Microsoft.Data.SqlClient.dll will load the appropriate x86 or x64 native library dependency at runtime.

 

For the current list of changes in Microsoft.Data.SqlClient 1.0, please see the Release Notes.

 

Again, to try out the new package, add a NuGet reference to Microsoft.Data.SqlServer in your application. 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