Azure - Manage Blob Storage - Part #2 - Create Blob Container using C#
Problem Definition
How to create a blob container using C# in Azure.
Prerequisites
Access to Azure Portal - http://portal.azure.com
Azure General Purpose Storage Account
Microsoft Visual Studio(For this demo used Visual Studio Community for Mac)
Storage Account connection string as described in Part #1
Complete Visual studio connectivity to Azure as described in Part #1
Azure General Purpose Storage Account
Microsoft Visual Studio(For this demo used Visual Studio Community for Mac)
Storage Account connection string as described in Part #1
Complete Visual studio connectivity to Azure as described in Part #1
Use following code to set up your class "BlobStorageContainer.cs"
- CloudBlobContainer will use the name that was passed to check if container exists or not.
- if container does not exists it will be created
How to call from "Program.cs"
Results
- Program execution
Comments
Post a Comment