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: .github/copilot-instructions.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ This project includes several key products and libraries that facilitate SQL Ser
34
34
## 🛠️ Key Features
35
35
-**Connectivity to SQL Server**: Provides robust and secure connections to SQL Server databases, using various authentication methods, such as Windows Authentication, SQL Server Authentication, and Entra ID authentication, e.g. `ActiveDirectoryIntegrated`, `ActiveDirectoryPassword`, `ActiveDirectoryServicePrincipal`,`ActiveDirectoryInteractive`, `ActiveDirectoryDefault`, and `ActiveDirectoryManagedIdentity`.
36
36
-**Connection Resiliency**: Implements connection resiliency features to handle transient faults and network issues, ensuring reliable database connectivity.
37
-
-**TLS Encryption**: Supports secure connections using TLS protocols to encrypt data in transit. Supports TLS 1.2 and higher, ensuring secure communication with SQL Server. Supported encryption modes are:
37
+
-**TLS Encryption**: Supports secure connections using TLS protocols to encrypt data in transit. Supports TLS 1.2 and higher, ensuring secure communication with SQL Server. Supported encryption modes are:
38
38
-**Optional**: Encryption is used if available, but not required.
39
39
-**Mandatory**: Encryption is mandatory for the connection.
40
40
-**Strict**: Enforces strict TLS requirements, ensuring only secure connections are established.
@@ -50,6 +50,7 @@ This project includes several key products and libraries that facilitate SQL Ser
50
50
-**Data Encryption**: Supports data encryption for secure data transmission.
51
51
-**Logging and Diagnostics**: Provides event source tracing diagnostic capabilities for troubleshooting.
52
52
-**Failover Support**: Handles automatic failover scenarios for high availability.
53
+
- Compatibility switch: `Switch.Microsoft.Data.SqlClient.UseLegacyFailoverAlternationOnLoginSqlErrors` (default `false`) can restore legacy alternation behavior in `LoginWithFailover` for login-phase SQL errors.
53
54
-**Cross-Platform Support**: Compatible with both .NET Framework and .NET Core, allowing applications to run on Windows, Linux, and macOS.
54
55
-**Column Encryption AKV Provider**: Supports Azure Key Vault (AKV) provider for acquiring keys from Azure Key Vault to be used for encryption and decryption.
55
56
@@ -123,7 +124,7 @@ When a new issue is created, follow these steps:
123
124
- Ensure the PR passes all CI checks before merging.
124
125
125
126
### ✅ Closing Issues
126
-
- Add a comment summarizing the fix and referencing the PR
127
+
- Add a comment summarizing the fix and referencing the PR
127
128
128
129
### ⚙️ Automating Workflows
129
130
- Auto-label PRs based on folder paths (e.g., changes in `src/Microsoft.Data.SqlClient/src/` → `Area\SqlClient`, changes in `tests/` → `Area\Testing`) and whether they add new public APIs or introduce a breaking change.
Copy file name to clipboardExpand all lines: .github/instructions/architecture.instructions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ The `netcore/` and `netfx/` directories are legacy artifacts from the old dual-p
49
49
-`netcore/ref/` and `netfx/ref/` — **STILL ACTIVE**. Reference assemblies remain in these directories and define the public API surface for each target framework.
50
50
51
51
### OS Targeting with `TargetOs`
52
-
The unified project uses a `TargetOs`MSBuild property to handle OS-specific compilation:
52
+
The unified project uses a `TargetOs`build property to handle OS-specific compilation:
|`Switch.Microsoft.Data.SqlClient.EnableMultiSubnetFailoverByDefault`|`false`| Sets `MultiSubnetFailover=true` as the default for all connections |
247
247
|`Switch.Microsoft.Data.SqlClient.EnableUserAgent`| varies | Controls sending user agent information to SQL Server |
248
248
|`Switch.Microsoft.Data.SqlClient.IgnoreServerProvidedFailoverPartner`|`false`| Ignores failover partner information sent by the server |
249
+
|`Switch.Microsoft.Data.SqlClient.UseLegacyFailoverAlternationOnLoginSqlErrors`|`false`| Restores legacy `LoginWithFailover` alternation for login-phase SQL errors when parser state is not `Closed`|
249
250
|`Switch.Microsoft.Data.SqlClient.LegacyRowVersionNullBehavior`|`false`| Restores legacy null handling for rowversion columns |
250
251
|`Switch.Microsoft.Data.SqlClient.LegacyVarTimeZeroScaleBehaviour`|`false`| Restores legacy zero-scale behavior for time/datetime2/datetimeoffset |
251
252
|`Switch.Microsoft.Data.SqlClient.MakeReadAsyncBlocking`|`false`| Makes ReadAsync behave synchronously (legacy compat) |
0 commit comments