You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/connect/ado-net/introduction-microsoft-data-sqlclient-namespace.md
+40-17Lines changed: 40 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ There are a few differences in less-used APIs compared to System.Data.SqlClient
25
25
26
26
The Microsoft.Data.SqlClient API details can be found in the [.NET API Browser](/dotnet/api/microsoft.data.sqlclient).
27
27
28
-
## Stable Release 7.0.0 - 2026-03-17
28
+
## Release notes for 7.0
29
29
30
30
This is the general availability release of **Microsoft.Data.SqlClient 7.0**, a major milestone for the .NET data provider for SQL Server. This release addresses the most upvoted issue in the repository's history — extracting Azure dependencies from the core package — introduces pluggable SSPI authentication, adds enhanced routing for Azure, and delivers async read performance improvements.
- Reverted public visibility of internal interop enums (`IoControlCodeAccess` and `IoControlTransferType`) that were accidentally made public during the project merge.
| Developer / CI environments |`Active Directory Default`|
242
242
243
-
- See [Connect to Azure SQL with Microsoft Entra authentication](/sql/connect/ado-net/sql/azure-active-directory-authentication) for more information.
243
+
- See [Connect to Azure SQL with Microsoft Entra authentication](sql/azure-active-directory-authentication.md) for more information.
244
244
245
-
##Target Platform Support for 7.0
245
+
### 7.0 Target Platform Support
246
246
247
247
- .NET Framework 4.6.2+ (Windows x86, Windows x64, Windows ARM64)
248
248
- .NET 8.0+ (Windows x86, Windows x64, Windows ARM, Windows ARM64, Linux, macOS)
249
249
250
250
Full release notes, including dependencies, are available in the GitHub Repository: [7.0 Release Notes](https://github.com/dotnet/SqlClient/tree/main/release-notes/7.0).
251
251
252
-
## Release notes for Microsoft.Data.SqlClient 6.1
252
+
## Release notes for 6.1
253
253
254
254
### New features in 6.1
255
255
@@ -320,7 +320,7 @@ Full release notes, including dependencies, are available in the GitHub Reposito
320
320
321
321
Full release notes, including dependencies, are available in the GitHub Repository: [6.1 Release Notes](https://github.com/dotnet/SqlClient/tree/main/release-notes/6.1).
322
322
323
-
## Release notes for Microsoft.Data.SqlClient 6.0
323
+
## Release notes for 6.0
324
324
325
325
### Breaking changes in 6.0
326
326
@@ -433,7 +433,7 @@ using(SqlConnection sqlConnection = new SqlConnection("Data Source=(local);Integ
433
433
434
434
Full release notes, including dependencies, are available in the GitHub Repository: [6.0 Release Notes](https://github.com/dotnet/SqlClient/tree/main/release-notes/6.0).
435
435
436
-
## Release notes for Microsoft.Data.SqlClient 5.2
436
+
## Release notes for 5.2
437
437
438
438
### New features in 5.2
439
439
@@ -572,7 +572,7 @@ class Program
572
572
573
573
Full release notes, including dependencies, are available in the GitHub Repository: [5.2 Release Notes](https://github.com/dotnet/SqlClient/tree/main/release-notes/5.2).
574
574
575
-
## Release notes for Microsoft.Data.SqlClient 5.1
575
+
## Release notes for 5.1
576
576
577
577
### Breaking changes in 5.1
578
578
@@ -601,7 +601,7 @@ The default value of the `ServerCertificate` connection setting is an empty stri
601
601
602
602
Full release notes, including dependencies, are available in the GitHub Repository: [5.1 Release Notes](https://github.com/dotnet/SqlClient/tree/main/release-notes/5.1).
Full release notes, including dependencies, are available in the GitHub Repository: [5.0 Release Notes](https://github.com/dotnet/SqlClient/tree/main/release-notes/5.0).
696
696
697
-
## Release notes for Microsoft.Data.SqlClient 4.1
697
+
## Release notes for 4.1
698
698
699
699
Full release notes, including dependencies, are available in the GitHub Repository: [4.1 Release Notes](https://github.com/dotnet/SqlClient/tree/main/release-notes/4.1).
700
700
@@ -717,7 +717,7 @@ Connection string example:
717
717
- .NET Core 3.1+ (Windows x86, Windows x64, Windows Arm64, Windows ARM, Linux, macOS)
718
718
- .NET Standard 2.0+ (Windows x86, Windows x64, Windows Arm64, Windows ARM, Linux, macOS)
719
719
720
-
## Release notes for Microsoft.Data.SqlClient 4.0
720
+
## Release notes for 4.0
721
721
722
722
Full release notes, including dependencies, are available in the GitHub Repository: [4.0 Release Notes](https://github.com/dotnet/SqlClient/tree/main/release-notes/4.0).
723
723
@@ -802,7 +802,30 @@ using (SqlConnection connection = new SqlConnection(connectionString))
802
802
- .NET Core 3.1+ (Windows x86, Windows x64, Windows Arm64, Windows ARM, Linux, macOS)
803
803
- .NET Standard 2.0+ (Windows x86, Windows x64, Windows Arm64, Windows ARM, Linux, macOS)
804
804
805
-
## Release notes for Microsoft.Data.SqlClient 3.0
805
+
## Release notes for 3.1
806
+
807
+
Full release notes, including dependencies, are available in the GitHub Repository: [3.1 Release Notes](https://github.com/dotnet/SqlClient/tree/main/release-notes/3.1).
808
+
809
+
### New features in 3.1
810
+
811
+
#### Introduced Attestation Protocol 'None'
812
+
813
+
A new attestation protocol called `None` will be allowed in the connection string. This protocol will allow users to forgo enclave attestation for `VBS` enclaves. When this protocol is set, the enclave attestation URL property is optional.
- .NET Framework 4.6.1+ (Windows x86, Windows x64)
825
+
- .NET Core 3.1+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS)
826
+
- .NET Standard 2.0+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS)
827
+
828
+
## Release notes for 3.0
806
829
807
830
Full release notes, including dependencies, are available in the GitHub Repository: [3.0 Release Notes](https://github.com/dotnet/SqlClient/tree/master/release-notes/3.0).
808
831
@@ -1027,7 +1050,7 @@ A new connection property `IPAddressPreference` is introduced to specify the IP
1027
1050
- .NET Core 2.1+ (Windows x86, Windows x64, Windows Arm64, Windows ARM, Linux, macOS)
1028
1051
- .NET Standard 2.0+ (Windows x86, Windows x64, Windows Arm64, Windows ARM, Linux, macOS)
1029
1052
1030
-
## Release notes for Microsoft.Data.SqlClient 2.1
1053
+
## Release notes for 2.1
1031
1054
1032
1055
Full release notes, including dependencies, are available in the GitHub Repository: [2.1 Release Notes](https://github.com/dotnet/SqlClient/tree/master/release-notes/2.1).
1033
1056
@@ -1269,7 +1292,7 @@ Starting with Microsoft.Data.SqlClient v2.1, Microsoft.Data.SqlClient symbols ar
@@ -1376,7 +1399,7 @@ Microsoft.Data.SqlClient (.NET Core and .NET Standard) on Windows is now depende
1376
1399
- .NET Core 2.1+ (Windows x86, Windows x64, Windows Arm64, Windows ARM, Linux, macOS)
1377
1400
- .NET Standard 2.0+ (Windows x86, Windows x64, Windows Arm64, Windows ARM, Linux, macOS)
1378
1401
1379
-
## Release notes for Microsoft.Data.SqlClient 1.1.0
1402
+
## Release notes for 1.1
1380
1403
1381
1404
Full release notes, including dependencies, are available in the GitHub Repository: [1.1 Release Notes](https://github.com/dotnet/SqlClient/tree/master/release-notes/1.1).
1382
1405
@@ -1401,7 +1424,7 @@ For more information, see:
1401
1424
- .NET Core 2.1+ (Windows x86, Windows x64, Linux, macOS)
1402
1425
- .NET Standard 2.0+ (Windows x86, Windows x64, Linux, macOS)
1403
1426
1404
-
## Release notes for Microsoft.Data.SqlClient 1.0
1427
+
## Release notes for 1.0
1405
1428
1406
1429
The initial release for the Microsoft.Data.SqlClient namespace offers more functionality over the existing System.Data.SqlClient namespace.
Copy file name to clipboardExpand all lines: docs/connect/ado-net/sql/azure-active-directory-authentication.md
+1-17Lines changed: 1 addition & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -432,7 +432,7 @@ public class ActiveDirectoryAuthenticationProvider
432
432
### What changed in 7.0
433
433
434
434
-**Azure dependency extraction** — The core `Microsoft.Data.SqlClient` package no longer depends on `Azure.Core`, `Azure.Identity`, or their transitive dependencies (such as `Microsoft.Identity.Client` and `Microsoft.Web.WebView2`). The `ActiveDirectoryAuthenticationProvider` class and related types moved to the new `Microsoft.Data.SqlClient.Extensions.Azure` package.
435
-
-**New packages** — Three new packages were introduced to support this separation:
435
+
-**New packages** — Two new packages were introduced to support this separation:
436
436
-`Microsoft.Data.SqlClient.Extensions.Azure` — contains Entra ID authentication support.
437
437
-`Microsoft.Data.SqlClient.Extensions.Abstractions` — shared types between the core driver and extensions.
438
438
-**`ActiveDirectoryPassword` deprecation** — `SqlAuthenticationMethod.ActiveDirectoryPassword` is now marked `[Obsolete]` and generates a compiler warning. This aligns with [mandatory multifactor authentication](/entra/identity/authentication/concept-mandatory-multifactor-authentication).
@@ -474,22 +474,6 @@ All `Authentication` connection string values continue to work the same way. No
474
474
475
475
If your application connects using SQL authentication, Windows integrated authentication, or `AccessToken`/`AccessTokenCallback`, no changes are required. You benefit from a lighter core package with fewer dependencies.
476
476
477
-
### Using pluggable SSPI authentication (new in 7.0)
478
-
479
-
Applications can now supply a custom SSPI context provider for integrated authentication. This enables custom Kerberos ticket negotiation and NTLM username/password authentication in environments such as non-domain-joined machines, containers, or cross-platform scenarios.
480
-
481
-
```csharp
482
-
// Use your own server, database, and SSPI provider implementation.
> The `SspiContextProvider` is part of the connection pool key. Ensure the implementation returns a stable identity per resource.
490
-
491
-
For a sample implementation, see [SspiContextProvider_CustomProvider.cs](https://github.com/dotnet/SqlClient/blob/main/doc/samples/SspiContextProvider_CustomProvider.cs) in the SqlClient repository.
0 commit comments