示例#1
0
        static CloudBlobContainer GetContainer(AzureContainer containerType)
        {
            // Get container according a string azure connection
            var account = CloudStorageAccount.Parse(Config.Constants.StorageConnection);
            var client  = account.CreateCloudBlobClient();

            return(client.GetContainerReference(containerType.ToString().ToLower()));
        }
示例#2
0
        public static CloudBlobContainer GetContainer(AzureContainer containerType)
        {
            var account = CloudStorageAccount.Parse(Config.Constants.StorageConection);
            //Tener el vinvulo
            var client = account.CreateCloudBlobClient();

            return(client.GetContainerReference(containerType.ToString().ToLower()));
        }