Add Azure Blob Storage

Posted by Larrem on January 15, 2024

Objective

  1. Enable and use Azure Media Storage

Step 1: Get the default images of TheBlogTheme

Orchard Core's GitHub page

Save to your local drive

Step 2: Create appsettings.Development.json

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/environments?view=aspnetcore-8.0

Step 3: Add the configuration values in appsettings.json

See Orchard Core's docs here

Step 4: Publish

Step 5: Enable feature (Azure Media Storage)

Step 6: Check Azure Storage container and upload default images

Before and after enabling the Azure Media Storage


References

Orchard Core's GitHub repo pointing to TheBlogTheme's Assets folder

Orchard Core's docs about Azure Media Storage