dotnet / dotnet/SqlClient

Update AppContext Switch Docs

Open
#3,412 2 comments 0 reactions 0 assignees View on GitHub
Area\Documentation Up-for-Grabs :raised_hands:
Dominant language
C#
Stars
989
Forks
340
Avg merge
4d 19h
Merged PRs (30d)
72

Description

MDS AppContext Switches are documented here:

https://learn.microsoft.com/en-us/sql/connect/ado-net/appcontext-switches?view=sql-server-ver16

That page lists the following switches:

- DisableTNIRByDefaultInConnectionString
- EnableRetryLogic
- LegacyRowVersionNullBehavior
- MakeReadAsyncBlocking
- SuppressInsecureTLSWarning
- TruncateScaledDecimal
- UseManagedNetworkingOnWindows
- UseOneSecFloorInTimeoutCalculationDuringLogin
- UseSystemDefaultSecureProtocols

Those don't match the current code, which supports the following switches:

- DisableTNIRByDefaultInConnectionString
- LegacyRowVersionNullBehavior
- LegacyVarTimeZeroScaleBehaviour
- MakeReadAsyncBlocking
- SuppressInsecureTLSWarning
- TruncateScaledDecimal
- UseCompatibilityAsyncBehaviour
- UseCompatibilityProcessSni
- UseConnectionPoolV2
- UseOneSecFloorInTimeoutCalculationDuringLogin
- UseManagedNetworkingOnWindows

Update the public docs to match reality, and find any other public docs that may also be inaccurate (README, BUILDGUIDE, etc).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.