azure-storage-blobs

Azure not displaying blobs within container in Storage Account

时光总嘲笑我的痴心妄想 提交于 2019-12-12 03:13:40
问题 I've finally been able to upload two videos as blobs into a storage account container. I can see the blobs from the portal when I drill down into Storage > storage account name > Container > container name. I can also see them from the CLI with the command " storage blob list ". However When I attempt to upload the content into my Media service account - I select upload content from storage, Select the Account, then the container... and I get the erroneous message that there are no blobs

Getting “Resource not found error” while using Azure File Sync

五迷三道 提交于 2019-12-12 02:36:41
问题 Facing a very strange issue. Following this guide https://azure.microsoft.com/en-in/documentation/articles/app-service-mobile-xamarin-forms-blob-storage/ to implement File Sync in Xamarin Forms app. The Get method in my service (GetUser, default get method in App service controller) is being called thrice & on the 3rd iteration it gives me a 404 resource not found error. First 2 iterations work fine. This is the client call await userTable.PullAsync( null, userTable.Where(x => x.Email ==

Limiting account SAS permission to specific files in Azure Storage

空扰寡人 提交于 2019-12-12 02:16:12
问题 I'm developing a web application which users can upload their files and each user can set permissions for the uploaded file to access to other users. I want to use Azure Blob Storage of Azure File Storage for the uploaded files to be saved. I need to check and validate the uploaded files before saving them, though users should upload their files on web server and then the web server will validate the files and save them to Azure Storage using Access Key. To get accessed the files using

Set-AzureVMDscExtension with large package leads to extreme memory usage in PowerShell DSC Extension

倖福魔咒の 提交于 2019-12-12 02:06:51
问题 I finally managed to automate our release process using Desired State Configuration with the Azure PowerShell SDK methods, in particular the Publish-AzureVMDscConfiguration -> Set-AzureVMDscExtension -> Update-AzureVM combo. After thinking for a while in a way to send my build outputs somewhere accessible by the VM, I ended up with the strategy of appending my build drops in the configuration package that gets uploaded to Azure Storage. My problem now is that as soon as the PowerShell DSC

Create blob container for Azure App Service

Deadly 提交于 2019-12-12 01:56:50
问题 I have had some issues with upgrading a MobileService to Azure App Service. I had the following question Blob storage access from Azure App Service which enabled me to access the blob storage. Now I wanted to save an image to the blob storage, which the updated code is like this: string cloud = ""; CloudStorageAccount storageAccount = CloudStorageAccount.Parse(CloudConfigurationManager.GetSetting("battlecrestimage_AzureStorageConnectionString")); cloud = storageAccount.BlobEndpoint.ToString()

Azure blob sasToken “Signature did not match”

情到浓时终转凉″ 提交于 2019-12-12 01:37:00
问题 I was trying to upload an image to azure blob storage using createBlockBlobFromLocalFile . And I created the sasToken like what azure-storage-node instructed here. Here's my code for upload. module.exports = function(params) { var config = require('../../config/secrets'); var fs = require('fs'); var azure = require('azure-storage'); var controllers = {}; var blobSvc = azure.createBlobService(config.BLOB_LINK, config.BLOB_KEY); controllers.upload = function (req, res, next){ var fstream; req

Loading web user controls from blob storage in asp.net

瘦欲@ 提交于 2019-12-12 00:34:46
问题 I am storing user control file in some other location may be in blob storage or some other place. ( not in my project work space ) and i store the url of the user control in database . Now how can load this usercontrol to my web page ? 回答1: I'd used following approach to load .ascx controls. In fact I've saved .ascx files into "text" field. First of I've register a control in web.config file: <pages> <controls> <add tagPrefix="tab" src="~/pg.ascx" tagName="Test"/> </controls> </pages> In

Check if blob exists in Azure

与世无争的帅哥 提交于 2019-12-12 00:07:23
问题 I'm wondering if there is a way to check if a blob exists in a container? $blob = $blobRestProxy->getBlob("mycontainer", "myblobname"); if($blob){ return 'exists'; } else { return 'not exists'; } I've tried this but im getting this message whenever the blob does not exists: BlobNotFound The specified blob does not exist. If exists, the code returns 'exists' naturally. I'm not interested in listing all blobs in the container and iterating until I find a match cause I have a lot of blobs. 回答1:

Merging multiple Azure's Cloud block blobs in Android

房东的猫 提交于 2019-12-11 23:25:12
问题 I'm new to Azure's Blob cloud. I want to basically upload a video file from my android app to Azure cloud but I can't because as soon as the size reaches 32MB it stops throws an exception as OutOfMemory. So I did a bit of research on how should I fix this problem and I came up with a solution to break a file into bytes and than upload it as multiple blobs. At the end compile them into one blob. But I don't know how to do that. I tried using commitBlockList but for that I can't get the Id's of

Simpler solution than TPL Dataflow for parallel async blob deletion

纵饮孤独 提交于 2019-12-11 22:31:42
问题 I'm implementing a worker role on Azure which needs to delete blobs from Azure storage. Let's assume my list of blobs has about 10K items. The simplest synchronous approach would probably be: Parallel.ForEach(list, x => ((CloudBlob) x).Delete()); Requirements: I want to implement the same thing asynchronously (on a single thread). I want to limit the number of concurrent connections to 50 - so I'll do my 10K deletions when only 50 async ones are being performed at the same time. If one