Hello, we're working with the Optimizely.ImageSharp.Web Library on CMS 12, and it requires Azure Blob Storage connection information for DXP sites. Previously for the Windows based (CMS 11) clients the keys to pull from the Web.config were 'EPiServerAzureBlobs', and there was no blob container needed. Does anyone know what the keys are for configuration in CMS 12 without a Web.config?
Github Bug Report
You should be able to configure this in StartUp.cs, like the DXP-example shows here:
Basically you specify connection yourself based on what you have configured in appSettings.json.
var blobConnection = _configuration.GetConnectionString("EPiServerAzureBlobs");
options.ConnectionString = blobConnection;
options.ContainerName = "resizer-cache";
Thanks! The connection string worked perfectly, but I wasn't able to use 'resizer-cache' as it wasn't a valid container in my DXP environment? Using the default blob storage container name `mysitemedia` worked perfectly though. Thank you!