A simple azure blob storage example in the form of a photo gallery. This app provides the ability to view any images in the storage container, upload new images and delete images.
- ASP.NET Core MVC 5.0
- .NET 5.0
- Azure Storage.Blobs
-
You must replace the connection string with the values of an active Azure Storage Account. If you don't have an account, refer to the Create a Storage Account article.
-
Retrieve the STORAGE ACCOUNT NAME and PRIMARY ACCESS KEY (or SECONDARY ACCESS KEY) values from the Keys blade of your Storage account in the Azure Preview portal. For more information on obtaining keys for your Storage account refer to [View, copy, and regenerate storage access keys](https://azure.microsoft.com/en-us/documentation/articles/storage-create-storage-account/#view-copy-and-regenerate-storage-access-keys
-
In the appsettings.json file, located in the project root, find the
StorageAccount
app setting and replace the placeholder values with the values obtained for your account.
"StorageAccount": "DefaultEndpointsProtocol=https;AccountName=[Enter Your Storage AccountName];AccountKey=[Enter Your Storage AccountKey]"