TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Create Container In Azure Blob Storage
Kannadasan G
May 20
2015
Code
1.2
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
string
storageConnectionString = ConfigurationManager.ConnectionStrings[
"Storage"
].ConnectionString;
string
containerName =
"samplecontainer"
;
CloudStorageAccount Account = CloudStorageAccount.Parse(storageConnectionString);
CloudBlobClient BlobClient = Account.CreateCloudBlobClient();
BlobClient.RetryPolicy = RetryPolicies.Retry(4, TimeSpan.Zero);
try
{
CloudBlobContainer container = BlobClient.GetContainerReference(containerName);
container.Create();
}
catch
(StorageClientException ex)
{
}
Detailed Article :
Azure Blob Storage Create Container - C#.Net,VB.Net
Azure Blob Storage
Create container in Azure