Skip to content

Document new EnvironmentVariablesConfigurationProvider connection string prefixes (.NET 10)#37062

Open
svick wants to merge 1 commit intodotnet:mainfrom
svick:update-env-vars-connection-string-prefixes
Open

Document new EnvironmentVariablesConfigurationProvider connection string prefixes (.NET 10)#37062
svick wants to merge 1 commit intodotnet:mainfrom
svick:update-env-vars-connection-string-prefixes

Conversation

@svick
Copy link
Copy Markdown
Member

@svick svick commented Apr 28, 2026

Documents the seven new connection string prefixes recognized by EnvironmentVariablesConfigurationProvider starting in .NET 10, added by dotnet/runtime#116037. Companion to dotnet/docs#53400.

Changes

  • Wrapped the existing Connection string prefixes content in a :::moniker range=""< aspnetcore-10.0"" block (4 prefixes, unchanged).
  • Added a parallel :::moniker range="">= aspnetcore-10.0"" block listing all 11 prefixes:
    • New with provider name: POSTGRESQLCONNSTR_Npgsql
    • New without provider name: APIHUBCONNSTR_, DOCDBCONNSTR_, EVENTHUBCONNSTR_, NOTIFICATIONHUBCONNSTR_, REDISCACHECONNSTR_, SERVICEBUSCONNSTR_
  • Bumped ms.date.

Source

Verified against src/libraries/Microsoft.Extensions.Configuration.EnvironmentVariables/src/EnvironmentVariablesConfigurationProvider.cs on release/8.0, release/9.0, release/10.0, and main (.NET 11).


Internal previews

📄 File 🔗 Preview link
aspnetcore/fundamentals/configuration/index.md aspnetcore/fundamentals/configuration/index

…ing prefixes

Starting in .NET 10, EnvironmentVariablesConfigurationProvider recognizes seven additional connection string prefixes (POSTGRESQLCONNSTR_, APIHUBCONNSTR_, DOCDBCONNSTR_, EVENTHUBCONNSTR_, NOTIFICATIONHUBCONNSTR_, REDISCACHECONNSTR_, SERVICEBUSCONNSTR_) added by dotnet/runtime#116037.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant