public static CloudBlobContainer GetBlobContainer(MSGorillaBlobContainer container) { var client = AzureStorageAccount.CreateCloudBlobClient(); var azcontainer = client.GetContainerReference(_containerDict[container]); azcontainer.CreateIfNotExists(); return(azcontainer); }
protected void InitAzure() { //Azure Configuration if (AzureStorageAccount != null) { AzureBlobClient = AzureStorageAccount.CreateCloudBlobClient(); } else { AzureBlobClient = null; } }