source/TestCommon/source/FunctionApp.TestCommon/FunctionAppHost/FunctionAppHostConfigurationBuilder.cs
/// <summary>
/// Load settings from "local.settings.json" if available, but also allow
/// those settings to be overriden using environment variables.
/// </summary>
Load settings from "local.settings.json" if available, but also allow
those settings to be overriden using environment variables.
Load settings from " local . settings . json " if available but also allow those settings to be overriden using environment variables .
public IConfiguration BuildLocalSettingsConfiguration()
        {
            var localSettingsConfiguration = new ConfigurationBuilder()
                .AddJsonFile("local.settings.json", optional: true)
                .AddEnvironmentVariables()
                .Build();
            return localSettingsConfiguration;
        }
public IConfiguration BuildLocalSettingsConfiguration ( ) { var localSettingsConfiguration = new ConfigurationBuilder ( ) . AddJsonFile ( " " , optional : true ) . AddEnvironmentVariables ( ) . Build ( ) ; return localSettingsConfiguration ; }
Load settings from "local.settings.json" if available, but also allow
those settings to be overriden using environment variables.
Load settings from " local . settings . json " if available but also allow those settings to be overriden using environment variables .