Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
20e1535
[5.1.1] Fix | Addressing failure on providing correct error message w…
lcheunglci Mar 27, 2023
daa1a74
[5.1.1] Fix | TransactionScope connection issue when Enlist is enable…
lcheunglci Mar 27, 2023
f70b9c6
[5.1.1] Fix | Throttling of token requests by calling AcquireTokenSil…
lcheunglci Mar 27, 2023
41af66f
[5.1.1] Fix | TDS RPC error on large queries in SqlCommand.ExecuteRea…
lcheunglci Mar 27, 2023
8601b68
[5.1.1] Fix | NullReferenceException in GetBytesAsync (#1964)
lcheunglci Mar 27, 2023
39cedc8
Test | Disable SqlConnectionReliabilityTest.ConcurrentExecution test …
DavoudEshtehari Jun 29, 2023
80d1f47
Merged PR 4035: [5.1.2] | Fix Transient fault handling issue with Ope…
DavoudEshtehari Oct 16, 2023
0b51b63
Merged PR 4030: [5.1.2] Fix | Adding type convertor support for SqlCo…
DavoudEshtehari Oct 16, 2023
1dba81c
Merged PR 4034: [5.1.2] | Update SNI version (#2123)
DavoudEshtehari Oct 16, 2023
b9f133b
Merged PR 4036: [5.1.2] Fix | LocalDb and managed SNI (#2129)
DavoudEshtehari Oct 16, 2023
0df83f4
Merged PR 4031: [5.1.2] | Fix access violation when using Express use…
DavoudEshtehari Oct 16, 2023
c5dc895
Merged PR 4039: [5.1.2] | Fix .NET and .NET standard file version (#2…
DavoudEshtehari Oct 16, 2023
f85aa55
Merged PR 4029: [5.1.2] Fix | Adding non-string support to SqlConnect…
DavoudEshtehari Oct 17, 2023
7ad5c58
Merged PR 4038: [5.1.2] Fix | AE enclave retry logic not working for …
DavoudEshtehari Oct 17, 2023
3fd439b
Merged PR 4037: [5.1.2] | Fix activity correlator to continue using s…
DavoudEshtehari Oct 17, 2023
4deb800
Merged PR 3992: [5.1.3]
David-Engel Oct 18, 2023
6256edb
Merged PR 4047: [5.1.3]
David-Engel Oct 19, 2023
b77f09e
Merged PR 4108: [5.1.4] Update dependency versions
David-Engel Nov 3, 2023
5cc6ca8
Merged PR 4120: [5.1.4] Backport #2161 - Fix deadlock in transaction …
David-Engel Nov 3, 2023
b92637e
[5.1.5] CVE | Version bump Microsoft.IdentityModel.JsonWebTokens to 6…
JRahnama Jan 26, 2024
f8520c7
Fix | Invalid transaction exception against the connections and distr…
JRahnama Jan 26, 2024
759dc69
Fix | Minor fixes to support different test environments (#2045) (#2325)
JRahnama Jan 27, 2024
01a589e
[5.1.5] Fix | Enable reading AE date as DateOnly (#2275) (#2324)
JRahnama Jan 27, 2024
d709ebb
Release notes 5.1.5 (#2327)
JRahnama Feb 9, 2024
b4d40de
[5.1.6] Test | Updating tests to acquire token from user-assigned man…
dauinsight May 7, 2024
3994122
SDL | Changing ReadXml to a more secure overload. (#2147) (#2490)
dauinsight May 8, 2024
82294a9
Merged PR 4540: eng | Add 5.1 build YAML pipeline
dauinsight May 16, 2024
0de9681
[5.1.6] | Test | Remove AAS - VBS tests from test pipelines (#2474) (…
DavoudEshtehari May 17, 2024
d6b8f77
[5.1.6] | Revert the fix transient fault handling issue with OpenAsyn…
DavoudEshtehari May 17, 2024
de28dc9
Merge in 'release/5.1' changes
May 23, 2024
a61ec2e
[5.1.6] Updating Azure.Identity version to 1.11.3 (#2529)
JRahnama May 23, 2024
8f2c6ca
Merged PR 4622: eng | Fix policheck 5.1
dauinsight May 31, 2024
505cb19
Merge in 'release/5.1' changes
Jun 17, 2024
d141006
Merged PR 4675: eng | [5.1] Upgrade ESRP to v5
DavoudEshtehari Jun 21, 2024
5645b14
Test fixes to accommodate recent infra changes (#2706)
dauinsight Jul 24, 2024
1c4afd9
Merge in 'release/5.1' changes
Jul 24, 2024
f63ae8f
[5.1.6] | CVE | Update Azure.Identity from 1.11.3 to 1.11.4 (#2649)
DavoudEshtehari Jul 25, 2024
bccd975
[5.1] eng | Secure symbols publishing (#2719)
DavoudEshtehari Jul 30, 2024
5f7840e
Merge in 'release/5.1' changes
Jul 30, 2024
0a7d192
[5.1] eng | Address strong naming issues in created nugets (#2698) (#…
JRahnama Jul 31, 2024
6fe8e21
[5.1] Test | Fixed some Azure managed identity authentication unit te…
arellegue Aug 1, 2024
ca8746f
[5.1] Add | Cache TokenCredential objects to take advantage of token …
dauinsight Aug 16, 2024
08c72cd
[5.1] Backport SourceLink translation (#2780)
JRahnama Aug 19, 2024
2eb0ed9
Ignor Official pipelines delay signed (#2795)
JRahnama Aug 22, 2024
5195077
Fix decrypt failure to drain data (#2818)
dauinsight Aug 27, 2024
cec5dd8
[5.1] Eng | Add strong name validation to package validator (#2802) (…
JRahnama Aug 27, 2024
0009210
[5.1] | Fix strong name in AKV provider (#2846)
dauinsight Sep 12, 2024
f6b7d7c
[5.1] Eng | Add CDP_BUILD_TYPE to package validator (#2858)
dauinsight Sep 16, 2024
4acabba
Fix CVE issue (#3077)
samsharma2700 Dec 11, 2024
38696c5
Move NuGet.config to the root + add vuln info (#3123)
cheenamalhotra Jan 24, 2025
081c4bf
Fix local feed step to look in root for nuget config. (#3143)
mdaigle Feb 6, 2025
6ec0741
Sync ref project references with runtime projects (#3180)
benrr101 Feb 26, 2025
87f6812
Update Microsoft.Extensions.Hostings (#3207)
cheenamalhotra Mar 14, 2025
d72e731
[5.1] Fix | Dotnet build command (#2728)
dauinsight Apr 2, 2025
c977790
[Release 5.1] Update MS Extensions Hosting package (#3068)
cheenamalhotra Apr 2, 2025
60fc661
ESRP federated credential update (move to AME) (#3261) (#3267)
cheenamalhotra Apr 10, 2025
d47c51d
[5.1] CVE-2024-43485 - Update System.Text.Json to 6.0.11 (#3279)
paulmedynski Apr 17, 2025
bd44051
Handle null socket when receiving packets of data (#3270) (#3285)
paulmedynski Apr 19, 2025
5d51c54
[5.1] Replace example password with ******** (#3289)
David-Engel Apr 19, 2025
cd2e4fb
Updated SNI version to 5.1.2. (#3294)
paulmedynski Apr 23, 2025
7577ba2
Updated MDS release version variables to 5.1.7. (#3298)
paulmedynski Apr 25, 2025
0697f41
Added localizations for the new SNI_ERROR_10 code from PR #3285. (#3300)
paulmedynski Apr 25, 2025
4a6c9f4
Backport NugetAudit settings (#3318)
benrr101 May 2, 2025
5df1ac3
Port release notes from main to 5.1.7 (#3334)
paulmedynski May 8, 2025
6af24bc
5.1 | APIScan | MSAL `WithClientName` (3rd attempt) (#3367)
benrr101 Jun 5, 2025
f2392d8
Port #3399 to release/5.1
apoorvdeshmukh Jun 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .config/CredScanSuppressions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"tool": "Credential Scanner",
"suppressions": [
{
"file": "src/Microsoft.Data.SqlClient/tests/Docker/DockerLinuxTest/Program.cs",
"justification": "Test projects should be skipped"
},
{
"file": "src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS.Servers/TDSServerArguments.cs",
"justification": "Test projects should be skipped"
},
{
"file": "src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS.Servers/TdsServerCertificate.pfx",
"justification": "Test projects should be skipped"
},
{
"file": "src/docker-compose.yml",
"justification": "Docker test project should be excluded"
},
{
"file": "doc/samples/SqlConnectionStringBuilder.cs",
"justification": "Documentation could include sample data and can be ignored"
}
]
}
5 changes: 5 additions & 0 deletions .config/PolicheckExclusions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<PoliCheckExclusions>
<Exclusion Type="FolderPathStart">SRC/MICROSOFT.DATA.SQLCLIENT/TESTS</Exclusion>
<Exclusion Type="FileType">.YML|.MD|.SQL</Exclusion>
<Exclusion Type="FileName">NOTICE.TXT</Exclusion>
</PoliCheckExclusions>
14 changes: 14 additions & 0 deletions .config/tsaoptions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"instanceUrl": "https://sqlclientdrivers.visualstudio.com/",
"projectName": "ADO.Net",
"areaPath": "ADO.Net",
"iterationPath": "ADO.Net\\TSA\\SqlClient",
"notificationAliases": [ "SqlClient@microsoft.com" ],
"repositoryName": "SqlClient",
"codebaseName": "SqlClient",
"allTools": true,
"template": "MSDATA_RevolutionR_Overloaded0",
"language": "csharp",
"includePathPatterns": "src/Microsoft.Data.SqlClient/*, src/Microsoft.SqlServer.Server/*, tools/*",
"excludePathPatterns": "src/Microsoft.Data.SqlClient/tests/*"
}
3 changes: 0 additions & 3 deletions BUILDGUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ Manual Tests require the below setup to run:
|TCPConnectionString | Connection String for a TCP enabled SQL Server instance. | `Server={servername};Database={Database_Name};Trusted_Connection=True;` <br/> OR `Data Source={servername};Initial Catalog={Database_Name};Integrated Security=True;`|
|NPConnectionString | Connection String for a Named Pipes enabled SQL Server instance.| `Server=\\{servername}\pipe\sql\query;Database={Database_Name};Trusted_Connection=True;` <br/> OR <br/> `Data Source=np:{servername};Initial Catalog={Database_Name};Integrated Security=True;`|
|TCPConnectionStringHGSVBS | (Optional) Connection String for a TCP enabled SQL Server with Host Guardian Service (HGS) attestation protocol configuration. | `Server=tcp:{servername}; Database={Database_Name}; UID={UID}; PWD={PWD}; Attestation Protocol = HGS; Enclave Attestation Url = {AttestationURL};`|
|TCPConnectionStringAASVBS | (Optional) Connection String for a TCP enabled SQL Server with a VBS Enclave and using Microsoft Azure Attestation (AAS) attestation protocol configuration. | `Server=tcp:{servername}; Database={Database_Name}; UID={UID}; PWD={PWD}; Attestation Protocol = AAS; Enclave Attestation Url = {AttestationURL};`|
|TCPConnectionStringNoneVBS | (Optional) Connection String for a TCP enabled SQL Server with a VBS Enclave and using None Attestation protocol configuration. | `Server=tcp:{servername}; Database={Database_Name}; UID={UID}; PWD={PWD}; Attestation Protocol = NONE;`|
|TCPConnectionStringAASSGX | (Optional) Connection String for a TCP enabled SQL Server with a SGX Enclave and using Microsoft Azure Attestation (AAS) attestation protocol configuration. | `Server=tcp:{servername}; Database={Database_Name}; UID={UID}; PWD={PWD}; Attestation Protocol = AAS; Enclave Attestation Url = {AttestationURL};`|
|EnclaveEnabled | Enables tests requiring an enclave-configured server.|
Expand All @@ -176,8 +175,6 @@ Manual Tests require the below setup to run:
|AADSecurePrincipalSecret | (Optional) A Secret defined for a registered application which has been granted permission to the database defined in the AADPasswordConnectionString. | {Secret} |
|AzureKeyVaultURL | (Optional) Azure Key Vault Identifier URL | `https://{keyvaultname}.vault.azure.net/` |
|AzureKeyVaultTenantId | (Optional) The Azure Active Directory tenant (directory) Id of the service principal. | _{Tenant ID of Active Directory}_ |
|AzureKeyVaultClientId | (Optional) "Application (client) ID" of an Active Directory registered application, granted access to the Azure Key Vault specified in `AZURE_KEY_VAULT_URL`. Requires the key permissions Get, List, Import, Decrypt, Encrypt, Unwrap, Wrap, Verify, and Sign. | _{Client Application ID}_ |
|AzureKeyVaultClientSecret | (Optional) "Client Secret" of the Active Directory registered application, granted access to the Azure Key Vault specified in `AZURE_KEY_VAULT_URL` | _{Client Application Secret}_ |
|SupportsIntegratedSecurity | (Optional) Whether or not the USER running tests has integrated security access to the target SQL Server.| `true` OR `false`|
|LocalDbAppName | (Optional) If Local Db Testing is supported, this property configures the name of Local DB App instance available in client environment. Empty string value disables Local Db testing. | Name of Local Db App to connect to.|
|LocalDbSharedInstanceName | (Optional) If LocalDB testing is supported and the instance is shared, this property configures the name of the shared instance of LocalDB to connect to. | Name of shared instance of LocalDB. |
Expand Down
102 changes: 102 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,108 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

# Release Notes

## [Stable release 5.1.7] - 2025-04-25

This update brings the following changes since the 5.1.6 release:

### Fixed

- Fixed possible `NullPointerException` during socket receive (PR [#3285](https://github.com/dotnet/SqlClient/pull/3285))
- Fixed inconsistencies between source and reference projects (PR [#3180](https://github.com/dotnet/SqlClient/pull/3180))

### Changed

- Updated the following dependencies:
- [Microsoft.Data.SqlClient.SNI](https://www.nuget.org/packages/Microsoft.Data.SqlClient.SNI/5.1.2) 5.1.1 to 5.1.2 for .NET Framework on Windows (PR [#3294](https://github.com/dotnet/SqlClient/pull/3294))
- [Microsoft.Data.SqlClient.SNI.runtime](https://www.nuget.org/packages/Microsoft.Data.SqlClient.SNI.runtime/5.1.2) 5.1.1 to 5.1.2 for .NET on Windows (PR [#3294](https://github.com/dotnet/SqlClient/pull/3294))
- [Microsoft.Extensions.Caching.Memory](https://www.nuget.org/packages/Microsoft.Extensions.Caching.Memory/6.0.3) 6.0.1 to 6.0.3 - Avoid [CVE-2024-43483](https://github.com/advisories/GHSA-qj66-m88j-hmgj) (PR [#3068](https://github.com/dotnet/SqlClient/pull/3068))
- [Microsoft.Extensions.Hosting](https://www.nuget.org/packages/Microsoft.Extensions.Hosting/6.0.1) 6.0.0 to 6.0.1 - Avoid transitive dependency on vulnerable [System.Text.Json](https://www.nuget.org/packages/System.Text.Json/6.0.0) 6.0.0 (PR [#3207](https://github.com/dotnet/SqlClient/pull/3207))
- [System.Private.Uri](https://www.nuget.org/packages/System.Private.Uri) 4.3.2 - Avoid transitive [CVE-2019-0820](https://msrc.microsoft.com/update-guide/en-US/advisory/CVE-2019-0820) (PR [#3077](https://github.com/dotnet/SqlClient/pull/3077))
- [System.Text.Encodings.Web](https://www.nuget.org/packages/System.Text.Encodings.Web/6.0.1) 6.0.0 to 6.0.1 - Avoid transitive downgrade for .NET Framework targets (PR [#3279](https://github.com/dotnet/SqlClient/pull/3279))
- [System.Text.Json](https://www.nuget.org/packages/System.Text.Json/6.0.11) 6.0.11 - Avoid transitive dependencies on older vulnerable versions for .NET Framework targets (PR [#3279](https://github.com/dotnet/SqlClient/pull/3279))

## [Stable release 5.1.6] - 2024-08-27

### Fixed

- Fixed Transient fault handling issue with `OpenAsync`. [#1983](https://github.com/dotnet/SqlClient/pull/1983) [#2508](https://github.com/dotnet/SqlClient/pull/2508)
- Fixed `AcquireTokenAsync` timeout handling for edge cases in `ActiveDirectoryAuthenticationProvider`. [#2706](https://github.com/dotnet/SqlClient/pull/2706)
- Fixed pending data with `SqlDataReader` against an encrypted column. [#2618](https://github.com/dotnet/SqlClient/pull/2618) [#2818](https://github.com/dotnet/SqlClient/pull/2818)

### Changed

- Upgraded `Azure.Identity` version from 1.11.3 to 1.11.4 [#2649] (https://github.com/dotnet/SqlClient/pull/2649) [#2529] (https://github.com/dotnet/SqlClient/pull/2529) to address [CVE-2024-35255](https://github.com/advisories/GHSA-m5vv-6r4h-3vj9).
- Upgraded `Microsoft.Identity.Client` version from 4.60.0 to 4.61.3 [#2649] (https://github.com/dotnet/SqlClient/pull/2649) [#2529] (https://github.com/dotnet/SqlClient/pull/2529) to address [CVE-2024-35255](https://github.com/advisories/GHSA-m5vv-6r4h-3vj9).
- Added caching to `TokenCredential` objects to take advantage of token caching. [#2776](https://github.com/dotnet/SqlClient/pull/2776)
- Code health improvements: [#2490] (https://github.com/dotnet/SqlClient/pull/2490)

## [Stable release 5.1.5] - 2024-01-29

This update brings the below changes over the previous release:

### Fixed

- Fixed connection to unsubscribe from transaction completion events before returning it to the connection pool [#2321](https://github.com/dotnet/SqlClient/pull/2321)
- Fixed InvalidCastException when reading an Always Encrypted date or time column [#2324](https://github.com/dotnet/SqlClient/pull/2324)

### Changed

- Changed Microsoft.IdentityModel.JsonWebTokens and Microsoft.IdentityModel.Protocols.OpenIdConnect version 6.24.0 to 6.35.0 [#2320](https://github.com/dotnet/SqlClient/pull/2320) to address [CVE-2024-21319](https://www.cve.org/CVERecord?id=CVE-2024-21319)

## [Stable release 5.1.4] - 2024-01-09

This update brings the below changes over the previous release:

### Fixed

- Fixed a deadlock problem for distributed transactions when on .NET.

### Changed

- Upgraded `Azure.Identity` dependency version to [1.10.3](https://www.nuget.org/packages/Azure.Identity/1.10.3) to address [CVE-2023-36414](https://github.com/advisories/GHSA-5mfx-4wcx-rv27).

## [Stable release 5.1.3] - 2024-01-09

This update brings the below changes over the previous release:

### Fixed

- Fixed encryption downgrade issue. [CVE-2024-0056](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-0056)
- Fixed certificate chain validation logic flow.

## [Stable release 5.1.2] - 2023-10-26

This update brings the below changes over the previous release:

### Fixed

- Fixed access violation when using SQL Express user instance. [#2101](https://github.com/dotnet/SqlClient/pull/2101)
- Fixed Always Encrypted secure enclave retry logic for async queries. [#1988](https://github.com/dotnet/SqlClient/pull/1988)
- Fixed LocalDb and managed SNI by improving the error messages and avoid falling back to the local service. [#2129](https://github.com/dotnet/SqlClient/pull/2129)
- Fixed .NET and .NET Standard file version. [2093](https://github.com/dotnet/SqlClient/pull/2093)
- Fixed non-string values and `SqlConnectionStringBuilder` property indexer issue. [#2018](https://github.com/dotnet/SqlClient/pull/2018)
- Fixed `SqlConnectionEncryptOption` type conversion by introducing the `SqlConnectionEncryptOptionConverter` attribute when using **appsettings.json** files. [#2057](https://github.com/dotnet/SqlClient/pull/2057)
- Fixed Transient fault handling issue with `OpenAsync`. [#1983](https://github.com/dotnet/SqlClient/pull/1983)
- Fixed activity correlator to continue use of same GUID for connection activity. [#1997](https://github.com/dotnet/SqlClient/pull/1997)

### Changed

- Updated `Microsoft.Data.SqlClient.SNI` (.NET Framework dependency) and `Microsoft.Data.SqlClient.SNI.runtime` (.NET Core/Standard dependency) version to `5.1.1`. [#2123](https://github.com/dotnet/SqlClient/pull/2123)

## [Stable release 5.1.1] - 2023-03-28

This update brings the below changes over the previous release:

### Fixed

- Fixed an incorrect exception when a symmetric key fails to decrypt a column using Always Encrypted. [#1968](https://github.com/dotnet/SqlClient/pull/1968)
- Fixed `TransactionScope` connection issue when `Enlist` is `enabled`, `Pooling` is `disabled`, and `Network Connection Type` is set to `Redirect`. [#1967](https://github.com/dotnet/SqlClient/pull/1967)
- Fixed throttling of token requests by calling `AcquireTokenSilent`. [#1966](https://github.com/dotnet/SqlClient/pull/1966)
- Fixed TDS RPC error on large queries in `SqlCommand.ExecuteReaderAsync`. [#1965](https://github.com/dotnet/SqlClient/pull/1965)
- Fixed `NullReferenceException` in `GetBytesAsync`. [#1964](https://github.com/dotnet/SqlClient/pull/1964)

## [Stable release 5.1.0] - 2023-01-19

This update brings the below changes over the previous release:
Expand Down
4 changes: 4 additions & 0 deletions src/NuGet.config → NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@
<clear />
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
</packageSources>
<auditSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
</auditSources>
</configuration>
2 changes: 1 addition & 1 deletion build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@
</Target>

<Target Name="RestoreTestsNetCore">
<MSBuild Projects="@(ManualTests)" Targets="restore" Properties="$(TestProjectProperties)"/>

Check failure on line 93 in build.proj

View check run for this annotation

Azure Pipelines / Release 5.1 (Win 11 Azure SQL net6.0,AnyCPU,true,2,netstandard2.1)

build.proj#L93

build.proj(93,5): Error MSB3202: The project file "src\Microsoft.Data.SqlClient\tests\tools\Microsoft.Data.SqlClient.TestUtilities\Microsoft.Data.SqlClient.TestUtilities.csproj" was not found.

Check failure on line 93 in build.proj

View check run for this annotation

Azure Pipelines / Release 5.1 (Win 11 Azure SQL net6.0,AnyCPU,true,2,netstandard2.1)

build.proj#L93

build.proj(93,5): Error MSB3202: The project file "src\Microsoft.Data.SqlClient\tests\CustomConfigurableRetryLogic\CustomRetryLogicProvider.csproj" was not found.

Check failure on line 93 in build.proj

View check run for this annotation

Azure Pipelines / Release 5.1 (Win 11 Azure SQL net6.0,AnyCPU,true,2,netstandard2.1)

build.proj#L93

build.proj(93,5): Error MSB3202: The project file "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTesting.Tests.csproj" was not found.
<MSBuild Projects="@(FunctionalTests)" Targets="restore" Properties="$(TestProjectProperties)"/>
</Target>

<Target Name="RestoreNetFx" Condition="'$(IsEnabledWindows)' == 'true'">
<MSBuild Projects="@(NetFxDriver)" Targets="restore" />

Check failure on line 98 in build.proj

View check run for this annotation

Azure Pipelines / Release 5.1 (Win 11 Azure SQL net462,AnyCPU,true,2,netstandard2.1)

build.proj#L98

build.proj(98,5): Error MSB3202: The project file "src\Microsoft.Data.SqlClient\netfx\src\Microsoft.Data.SqlClient.csproj" was not found.
</Target>

<Target Name="RestoreTestsNetFx" Condition="'$(IsEnabledWindows)' == 'true'">
Expand All @@ -105,7 +105,7 @@

<Target Name="BuildTools" Condition="'$(BuildTools)' == 'true'">
<PropertyGroup>
<DotnetBuildCmd>$(DotNetCmd) dotnet build -c Release -p:ReferenceType=$(ReferenceType)"</DotnetBuildCmd>
<DotnetBuildCmd>$(DotNetCmd) dotnet build -c Release -p:ReferenceType=$(ReferenceType)</DotnetBuildCmd>
</PropertyGroup>
<Exec Command="$(DotnetBuildCmd)" WorkingDirectory="$(GenAPISrcDir)Microsoft.DotNet.GenAPI\" />
</Target>
Expand All @@ -128,7 +128,7 @@
</Target>

<Target Name="BuildNetCore" DependsOnTargets="RestoreNetCore">
<MSBuild Projects="@(NetCoreDriver)" Properties="$(CI);Platform=AnyCPU;$(ProjectProperties)" />

Check failure on line 131 in build.proj

View check run for this annotation

Azure Pipelines / Release 5.1 (Win 11 Azure SQL net6.0,AnyCPU,true,3,netstandard2.1)

build.proj#L131

build.proj(131,5): Error MSB3202: The project file "src\Microsoft.Data.SqlClient\netcore\src\Microsoft.Data.SqlClient.csproj" was not found.
</Target>

<Target Name="BuildNetCoreAllOS" DependsOnTargets="RestoreNetCore">
Expand Down
4 changes: 2 additions & 2 deletions doc/samples/SqlConnectionStringBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ static void Main()
// connection string, and you can retrieve and
// modify any of the elements.
builder.ConnectionString = "server=(local);user id=ab;" +
"password= a!Pass113;initial catalog=AdventureWorks";
"password=********;initial catalog=AdventureWorks";

// Now that the connection string has been parsed,
// you can work with individual items.
Console.WriteLine(builder.Password);
builder.Password = "new@1Password";
builder.Password = "********";

// You can refer to connection keys using strings,
// as well. When you use this technique (the default
Expand Down
2 changes: 1 addition & 1 deletion doc/samples/SqlConnectionStringBuilder3.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ static void Main()
try
{
string connectString =
"Server=(local);Database=AdventureWorks;UID=ab;Pwd= a!Pass@@";
"Server=(local);Database=AdventureWorks;UID=ab;Pwd=********";
Console.WriteLine("Original: " + connectString);
SqlConnectionStringBuilder builder =
new SqlConnectionStringBuilder(connectString);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ static void Main()
try
{
string connectString =
"Data Source=(local);User ID=ab;Password=MyPassword;" +
"Data Source=(local);User ID=ab;Password=********;" +
"Initial Catalog=AdventureWorks";

SqlConnectionStringBuilder builder =
Expand Down
2 changes: 1 addition & 1 deletion doc/samples/SqlConnectionStringBuilder_Remove.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ static void Main()
try
{
string connectString =
"Data Source=(local);User ID=ab;Password= a1Pass@@11;" +
"Data Source=(local);User ID=ab;Password=********;" +
"Initial Catalog=AdventureWorks";

SqlConnectionStringBuilder builder = new SqlConnectionStringBuilder(connectString);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,28 +20,29 @@ the enclave attestation protocol as well as the logic for creating and caching e
<param name="enclaveAttestationInfo">The information the provider uses to attest the enclave and generate a symmetric key for the session. The format of this information is specific to the enclave attestation protocol.</param>
<param name="clientDiffieHellmanKey">A Diffie-Hellman algorithm object that encapsulates a client-side key pair.</param>
<param name="enclaveSessionParameters">The set of parameters required for an enclave session.</param>
<param name="customData">The set of extra data needed for attestating the enclave.</param>
<param name="customDataLength">The length of the extra data needed for attestating the enclave.</param>
<param name="customData">The set of extra data needed for attesting the enclave.</param>
<param name="customDataLength">The length of the extra data needed for attesting the enclave.</param>
<param name="sqlEnclaveSession">The requested enclave session or <see langword="null" /> if the provider doesn't implement session caching.</param>
<param name="counter">A counter that the enclave provider is expected to increment each time SqlClient retrieves the session from the cache. The purpose of this field is to prevent replay attacks.</param>
<summary>When overridden in a derived class, performs enclave attestation, generates a symmetric key for the session, creates a an enclave session and stores the session information in the cache.</summary>
<remarks>To be added.</remarks>
</CreateEnclaveSession>
<GetAttestationParameters>
<param name="attestationUrl">The endpoint of an attestation service for attesting the enclave.</param>
<param name="customData">A set of extra data needed for attestating the enclave.</param>
<param name="customDataLength">The length of the extra data needed for attestating the enclave.</param>
<param name="customData">A set of extra data needed for attesting the enclave.</param>
<param name="customDataLength">The length of the extra data needed for attesting the enclave.</param>
<summary>Gets the information that SqlClient subsequently uses to initiate the process of attesting the enclave and to establish a secure session with the enclave.</summary>
<returns>The information SqlClient subsequently uses to initiate the process of attesting the enclave and to establish a secure session with the enclave.</returns>
<remarks>To be added.</remarks>
</GetAttestationParameters>
<GetEnclaveSession>
<param name="enclaveSessionParameters">The set of parameters required for enclave session.</param>
<param name="generateCustomData"><see langword="true" /> to indicate that a set of extra data needs to be generated for attestation; otherwise, <see langword="false" />.</param>
<param name="isRetry">Indicates if this is a retry from a failed call.</param>
<param name="sqlEnclaveSession">When this method returns, the requested enclave session or <see langword="null" /> if the provider doesn't implement session caching. This parameter is treated as uninitialized.</param>
<param name="counter">A counter that the enclave provider is expected to increment each time SqlClient retrieves the session from the cache. The purpose of this field is to prevent replay attacks.</param>
<param name="customData">A set of extra data needed for attestating the enclave.</param>
<param name="customDataLength">The length of the extra data needed for attestating the enclave.</param>
<param name="customData">A set of extra data needed for attesting the enclave.</param>
<param name="customDataLength">The length of the extra data needed for attesting the enclave.</param>
<summary>When overridden in a derived class, looks up an existing enclave session information in the enclave session cache. If the enclave provider doesn't implement enclave session caching, this method is expected to return <see langword="null" /> in the <paramref name="sqlEnclaveSession" /> parameter.
</summary>
<remarks>To be added.</remarks>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ Connections are considered the same if they have the same connection string. Dif
The example displays the following text in the console window:

```
Original: Data Source=(local);Initial Catalog=AdventureWorks;User ID=ab;Password= a1Pass@@11
Original: Data Source=(local);Initial Catalog=AdventureWorks;User ID=ab;Password=********
Modified: Data Source=(local);Initial Catalog=AdventureWorks;Integrated Security=True
Database = AdventureWorks
```
Expand Down
Loading
Loading