private CloudBlockBlob CreateBlob <T>() { var biggyContainer = this.blobClient.GetContainerReference(this.containerName); var blobName = AzureBlobCore.GetBlobName <T>(); biggyContainer.CreateIfNotExistsAsync().GetAwaiter().GetResult(); var blob = biggyContainer.GetBlockBlobReference(blobName); return(blob); }
public void SaveAll <T>(IEnumerable <T> items) { var blob = this.CreateBlob <T>(); AzureBlobCore.AzureBlobCoreSaveToBlob(items, blob); }