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
{{ message }}
Repository navigation
EnvironmentVariablesConfigurationProvider not load connection string prefix POSTGRESQLCONNSTR_ on Azure AppService #57545
On Azure AppService, it is able to add connection string for PostgreSQL. But the configuration does not load the PostgreSQL connection string. The workaround is select 'Custom' when adding connection string instead of 'PostgreSQL' provider.
Configuration
Setup PostgreSQL connection string on Azure AppService
At runtime, connection strings are available as environment variables, prefixed with the following connection types:
SQLServer: SQLCONNSTR_
MySQL: MYSQLCONNSTR_
SQLAzure: SQLAZURECONNSTR_
Custom: CUSTOMCONNSTR_
PostgreSQL: POSTGRESQLCONNSTR_
Activity
thohng commentedon Aug 17, 2021
Related document of Azure AppService / Configure connection strings
https://docs.microsoft.com/en-us/azure/app-service/configure-common#configure-connection-strings
thohng commentedon Aug 17, 2021
Current dotnet document
https://docs.microsoft.com/en-us/dotnet/core/extensions/configuration-providers#connection-string-prefixes
https://github.com/dotnet/docs/blob/main/docs/core/extensions/configuration-providers.md
davidfowl commentedon Aug 17, 2021
We should just add it.
thohng commentedon Nov 25, 2021
The issue is not fixed