-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Milestone
Description
Description
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

Checking Azure AppService Environments

Other information
Latest code on repository:
Lines 15 to 20 in faa0559
| private const string MySqlServerPrefix = "MYSQLCONNSTR_"; | |
| private const string SqlAzureServerPrefix = "SQLAZURECONNSTR_"; | |
| private const string SqlServerPrefix = "SQLCONNSTR_"; | |
| private const string CustomPrefix = "CUSTOMCONNSTR_"; | |
| private readonly string _prefix; |
public class EnvironmentVariablesConfigurationProvider : ConfigurationProvider
{
private const string MySqlServerPrefix = "MYSQLCONNSTR_";
private const string SqlAzureServerPrefix = "SQLAZURECONNSTR_";
private const string SqlServerPrefix = "SQLCONNSTR_";
private const string CustomPrefix = "CUSTOMCONNSTR_";
private readonly string _prefix;
Reactions are currently unavailable