azure-storage

Azure Stack Table Storage: Value for HTTP headers not in correct format

给你一囗甜甜゛ 提交于 2019-12-24 18:36:51
问题 I am trying to access a data storage of the azure stack. The following instructions work: BlobClient = StorageAccount.CreateCloudBlobClient(); CloudBlobContainer myContainer = BlobClient.GetContainerReference("mycontainer"); But it crashes, when creating the Blob via myContainer.CreateIfNotExists() : ...StatusMessage:The value for one of the HTTP headers is not in the correct format.\r\n ErrorCode:\r\nErrorMessage:The value for one of the HTTP headers is not in the correct format.\n RequestId

Uploading a picture to Windows Azure blob storage

谁说胖子不能爱 提交于 2019-12-24 16:52:33
问题 I'm trying to upload a picture to Windows Azure blob storage. I found a good example, but it relied on the Microsoft.WindowsAzure.StorageClient assembly. I've just learned that the latest version of the Windows Azure SDK has a new Microsoft.WindowsAzure.Storage assembly, which replaces the older StorageClient assembly. This new assembly uses new concreate types: CloudPageBlob and CloudBlockBlob . With the new assembly, I used the following: // Setup the blob string blobAddress = "myPicture

Azure Storage Queue - long time to process

て烟熏妆下的殇ゞ 提交于 2019-12-24 15:27:49
问题 I need to generate quite a number of reports and a report can take about 5 minutes to be generated, large amount of data, many different sources. The client will post messages to an Azure Storage Queue. There is a worker roles that processes the messages and generates the reports. If I want to scale this up let's say I end up with 10 worker roles that will process the messages from the queue and generate the reports. Then I will add messages into the queue like this: message 1: process

Windows Azure Blob Storage Emulator File Storage Location

£可爱£侵袭症+ 提交于 2019-12-24 13:46:15
问题 Where does the Windows Azure Blob Storage Emulator (yes, the emulator) store files uploaded to it? As in, what is the actual folder (path) that it is storing blobs on my local machine? I have it setup and running and I can successfully upload blobs and retrieve blobs, but I'd like to know where the emulator is actually storing the files. After uploading a blob, the address I get is: http://127.0.0.1:10000/devstoreaccount1/mycontainer/picture.png I am using xampp and the files don't seem to be

Availability of Azure storage account

百般思念 提交于 2019-12-24 13:06:03
问题 This page says that the availability of an azure storage account is computed as (billable requests)/(total requests). Billable requests mean all the requests excluding those which experienced anonymous failures (except network errors), throttled requests, server timeout errors and unknown errors. Now,what I see on the azure portal for my storage account is a straight line continuously at 100%, meaning that the account is available at 100% availability continuously. The line is without any

Getting broken images from blob storage in Azure websites

泄露秘密 提交于 2019-12-24 12:35:10
问题 My php code seems correct, (the part that talks to blob storage). //talk to blob storage, get links, based on file name $storageClient = $this->azure->get_blob_storage(); foreach($result as $photo) { $sharedAccessUrl[] = $storageClient->generateSharedAccessUrl( 'container', $photo['File'], 'b', 'r', $storageClient ->isoDate(time()), $storageClient ->isoDate(time() + 3000) ); } foreach($sharedAccessUrl as $item) { $pictures[] = $item; } This gets all the absolute url links, I then store it

Name of Azure blob/filename when uploading

我只是一个虾纸丫 提交于 2019-12-24 12:33:58
问题 When I upload to azure container the filename that is saved is the uuid(guid) how can I change that? I create the signatur by using the querystring "bloburi" added in the signature request. $("#fine-uploader").fineUploaderAzure({ autoUpload : true, debug: true, validation: { itemLimit: 10, sizeLimit: 209715200 // 200 mb }, resume: { enabled: true, id: 'ResumeUpload', cookiesExpireIn: 7 }, extraButtons: { folders: true }, deleteFile: { enabled: true }, request: { endpoint: 'https://xxx.blob

How would Azure storage be billed?

一个人想着一个人 提交于 2019-12-24 10:47:54
问题 According to the Azure homepage, it says: [Storage, measured in GB] (http://www.windowsazure.com/en-us/pricing/details/) Storage is billed in units of the average daily amount of data stored (in GB) over a monthly period. For example, if you consistently utilized 10 GB of storage for the first half of the month and none for the second half of the month, you would be billed for your average usage of 5 GB of storage. I don't understand clearly about the term, "utilization" here. Let's say I

How do I authenticate a user against an Azure storage blob in python?

廉价感情. 提交于 2019-12-24 10:37:16
问题 I'm looking for a way to authenticate a user against an Azure blob container. The sample code (yep, newbie alert) works just fine, using an access key for the storage account, but that feels uncomfortably like giving away full control of the entire storage account to anyone who steals the credentials. The auth sample (from https://azure.microsoft.com/en-us/resources/samples/storage-python-getting-started/) looks like this: block_blob_service = BlockBlobService(account_name='<acc>', account

Download multiple liles from Azure Blob URL list on single action in javascript without zipping

ぃ、小莉子 提交于 2019-12-24 09:08:02
问题 I am trying to create a simple download utility for Azure blob in my website. As of now, I have following design. Basically a list of all the files in a datatable and a button to download. On click of this button, I am able to get a list of URLs for all the corresponding blobs. To download them all, currently I am zipping those files and downloading in one shot. With this approach, problem is that I need to bring all the files into browser memory, and then zip them. So, technically, all the