Connect to deployed service via FTP and open appsettings.json corresponding to release build. Add configuration object having the same structure as assumed by the application.
Example
"AzureStorageConfig": { "ConnectionString": "...", "FileContainerName": "..." }
Corresponding .NET class has following structure.
public class AzureStorageConfig { public string ConnectionString { get; set; } public string FileContainerName { get; set; } }
It is used as template of constructor parameter.
public class BlobStorage : IStorage { private readonly AzureStorageConfig storageConfig; public BlobStorage(IOptions storageConfig) { this.storageConfig = storageConfig.Value; } }
ASP.NET Core AppSettings for Azure App Service