Skip to content

Commit b429f0b

Browse files
Review feedback
1 parent baf33bd commit b429f0b

2 files changed

Lines changed: 41 additions & 34 deletions

File tree

docs/connect/ado-net/introduction-microsoft-data-sqlclient-namespace.md

Lines changed: 40 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ There are a few differences in less-used APIs compared to System.Data.SqlClient
2525

2626
The Microsoft.Data.SqlClient API details can be found in the [.NET API Browser](/dotnet/api/microsoft.data.sqlclient).
2727

28-
## Stable Release 7.0.0 - 2026-03-17
28+
## Release notes for 7.0
2929

3030
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.
3131

@@ -80,7 +80,7 @@ dotnet add package Microsoft.Data.SqlClient.Extensions.Azure
8080
- Reverted public visibility of internal interop enums (`IoControlCodeAccess` and `IoControlTransferType`) that were accidentally made public during the project merge.
8181
([#3900](https://github.com/dotnet/SqlClient/pull/3900))
8282

83-
### Added in 7.0
83+
### New Features in 7.0
8484

8585
#### Pluggable authentication with SspiContextProvider
8686

@@ -216,7 +216,7 @@ listener.Subscribe(new Observer<KeyValuePair<string, object?>>(kvp =>
216216
- Enabled User Agent Feature Extension (opt-in via `Switch.Microsoft.Data.SqlClient.EnableUserAgent`).
217217
([#3606](https://github.com/dotnet/SqlClient/pull/3606))
218218

219-
### Changed in 7.0
219+
### Changes in 7.0
220220

221221
#### Deprecation of `SqlAuthenticationMethod.ActiveDirectoryPassword`
222222

@@ -240,16 +240,16 @@ listener.Subscribe(new Observer<KeyValuePair<string, object?>>(kvp =>
240240
| Azure-hosted workloads | `Active Directory Managed Identity` |
241241
| Developer / CI environments | `Active Directory Default` |
242242

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.
244244

245-
## Target Platform Support for 7.0
245+
### 7.0 Target Platform Support
246246

247247
- .NET Framework 4.6.2+ (Windows x86, Windows x64, Windows ARM64)
248248
- .NET 8.0+ (Windows x86, Windows x64, Windows ARM, Windows ARM64, Linux, macOS)
249249

250250
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).
251251

252-
## Release notes for Microsoft.Data.SqlClient 6.1
252+
## Release notes for 6.1
253253

254254
### New features in 6.1
255255

@@ -320,7 +320,7 @@ Full release notes, including dependencies, are available in the GitHub Reposito
320320

321321
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).
322322

323-
## Release notes for Microsoft.Data.SqlClient 6.0
323+
## Release notes for 6.0
324324

325325
### Breaking changes in 6.0
326326

@@ -433,7 +433,7 @@ using(SqlConnection sqlConnection = new SqlConnection("Data Source=(local);Integ
433433

434434
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).
435435

436-
## Release notes for Microsoft.Data.SqlClient 5.2
436+
## Release notes for 5.2
437437

438438
### New features in 5.2
439439

@@ -572,7 +572,7 @@ class Program
572572

573573
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).
574574

575-
## Release notes for Microsoft.Data.SqlClient 5.1
575+
## Release notes for 5.1
576576

577577
### Breaking changes in 5.1
578578

@@ -601,7 +601,7 @@ The default value of the `ServerCertificate` connection setting is an empty stri
601601

602602
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).
603603

604-
## Release notes for Microsoft.Data.SqlClient 5.0
604+
## Release notes for 5.0
605605

606606
### Breaking changes in 5.0
607607

@@ -694,7 +694,7 @@ Switch.Microsoft.Data.SqlClient.SuppressInsecureTLSWarning
694694

695695
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).
696696

697-
## Release notes for Microsoft.Data.SqlClient 4.1
697+
## Release notes for 4.1
698698

699699
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).
700700

@@ -717,7 +717,7 @@ Connection string example:
717717
- .NET Core 3.1+ (Windows x86, Windows x64, Windows Arm64, Windows ARM, Linux, macOS)
718718
- .NET Standard 2.0+ (Windows x86, Windows x64, Windows Arm64, Windows ARM, Linux, macOS)
719719

720-
## Release notes for Microsoft.Data.SqlClient 4.0
720+
## Release notes for 4.0
721721

722722
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).
723723

@@ -802,7 +802,30 @@ using (SqlConnection connection = new SqlConnection(connectionString))
802802
- .NET Core 3.1+ (Windows x86, Windows x64, Windows Arm64, Windows ARM, Linux, macOS)
803803
- .NET Standard 2.0+ (Windows x86, Windows x64, Windows Arm64, Windows ARM, Linux, macOS)
804804

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.
814+
815+
Connection string example:
816+
817+
```cs
818+
//Attestation protocol NONE with no URL
819+
"Data Source = {server}; Initial Catalog = {db}; Column Encryption Setting = Enabled; Attestation Protocol = None;"
820+
```
821+
822+
## Target Platform Support
823+
824+
- .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
806829

807830
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).
808831

@@ -1027,7 +1050,7 @@ A new connection property `IPAddressPreference` is introduced to specify the IP
10271050
- .NET Core 2.1+ (Windows x86, Windows x64, Windows Arm64, Windows ARM, Linux, macOS)
10281051
- .NET Standard 2.0+ (Windows x86, Windows x64, Windows Arm64, Windows ARM, Linux, macOS)
10291052

1030-
## Release notes for Microsoft.Data.SqlClient 2.1
1053+
## Release notes for 2.1
10311054

10321055
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).
10331056

@@ -1269,7 +1292,7 @@ Starting with Microsoft.Data.SqlClient v2.1, Microsoft.Data.SqlClient symbols ar
12691292
- .NET Core 2.1+ (Windows x86, Windows x64, Windows Arm64, Windows ARM, Linux, macOS)
12701293
- .NET Standard 2.0+ (Windows x86, Windows x64, Windows Arm64, Windows ARM, Linux, macOS)
12711294

1272-
## Release notes for Microsoft.Data.SqlClient 2.0
1295+
## Release notes for 2.0
12731296

12741297
Full release notes, including dependencies, are available in the GitHub Repository: [2.0 Release Notes](https://github.com/dotnet/SqlClient/tree/master/release-notes/2.0).
12751298
@@ -1376,7 +1399,7 @@ Microsoft.Data.SqlClient (.NET Core and .NET Standard) on Windows is now depende
13761399
- .NET Core 2.1+ (Windows x86, Windows x64, Windows Arm64, Windows ARM, Linux, macOS)
13771400
- .NET Standard 2.0+ (Windows x86, Windows x64, Windows Arm64, Windows ARM, Linux, macOS)
13781401

1379-
## Release notes for Microsoft.Data.SqlClient 1.1.0
1402+
## Release notes for 1.1
13801403

13811404
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).
13821405

@@ -1401,7 +1424,7 @@ For more information, see:
14011424
- .NET Core 2.1+ (Windows x86, Windows x64, Linux, macOS)
14021425
- .NET Standard 2.0+ (Windows x86, Windows x64, Linux, macOS)
14031426

1404-
## Release notes for Microsoft.Data.SqlClient 1.0
1427+
## Release notes for 1.0
14051428

14061429
The initial release for the Microsoft.Data.SqlClient namespace offers more functionality over the existing System.Data.SqlClient namespace.
14071430

docs/connect/ado-net/sql/azure-active-directory-authentication.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ public class ActiveDirectoryAuthenticationProvider
432432
### What changed in 7.0
433433

434434
- **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:
436436
- `Microsoft.Data.SqlClient.Extensions.Azure` — contains Entra ID authentication support.
437437
- `Microsoft.Data.SqlClient.Extensions.Abstractions` — shared types between the core driver and extensions.
438438
- **`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
474474

475475
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.
476476

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.
483-
var connection = new SqlConnection(connectionString);
484-
connection.SspiContextProvider = new MyKerberosProvider();
485-
connection.Open();
486-
```
487-
488-
> [!NOTE]
489-
> 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.
492-
493477
## See also
494478

495479
- [Microsoft.Data.SqlClient 7.0 release notes](https://github.com/dotnet/SqlClient/blob/main/release-notes/7.0/7.0.0.md)

0 commit comments

Comments
 (0)