windows-azure-storage

Checking if a blob exists in Azure Storage

Hi, I've got a very simple question (I hope!) - I just want to find out if a blob (with a name I've defined) exists in a particular container. I'll be downloading it if it does exist, and if it doesn't then I'll do something else. I've done some searching on the intertubes and apparently there used to be a function called DoesExist or s...

StorageClientException: The specified message does not exist?

I have a simple video encoding worker role that pulls messages from a queue encodes a video then uploads the video to storage. Everything seems to be working but occasionally when deleting the message after I am done encoding and uploading I get a "StorageClientException: The specified message does not exist." Although the video is proce...

Simplest Azure Storage Manipulation possible

I have the need to integrate some blob storage into an existing ASP.NET Mvc site my hope is to be able to just add some references and then just do puts and gets but I cannot find any simple example for how to do this (that hasn't been depricated to the point it no longer works) I have tried using StorageClient but CreateCloudBlobClie...

Windows Azure - Automatic Load Balancing - partitioning

I was going through some videos. I found that Windows Azure will group the blobs into partitions based on the partition key and will Automatically Load Balance these partitions on their servers. The partition key for a blob is blob name. Using the blob name, azure will automatically do partitions. Now, My question is that Can I able to ...

Using Javascript to call the Azure Blob Storage REST API

I'm developing a Flash app that saves files to the Azure Blob Storage API. I've learned that you should use the REST API directly rather than a go-between WCF service as this is the most efficient (using a web role is a bottleneck). The problem is that Flash can't do PUT or DELETE methods over Http and has to use external Javascript. ...

Windows Azure Table Services - Extended Properties and Table Schema

I have an entity that, in addition to a few common properties, contains a list of extended properties stored as (Name, Value) pairs of strings within a collection. I should probably mention that these extended properties widely vary from instance to instance, and that they only need to be listed for each instance (there won't be any que...

On Azure Development Storage I get "the specified blob already exists" when uploading block blob in parallel

Hi, Wondering if you clever people can help me with a right doozy of a bug. I'm uploading blob blocks in parallel and this works perfectly fine when running against live storage however against dev storage I get the error "The specified blob already exists" for the occasional block. The weird/ironic thing is that if the blob does alrea...

Unable to start azure application in dev fabric

Hi, Suddenly my windows azure application is stopped running in dev fabric. It was working fine. When I added two project "AspProviders" and "StorageClient" in my solution then, its not running. It is not firing any events also. There is no error but not not running. Output has the following message: 'WaWebHost.exe' (Managed): Loaded ...

How to download 100 million rows from Azure Table Storage FAST

I have been tasked with downloading around 100 million rows of data from Azure Table Storage. The important thing here being speed. The process we are using is downloading 10,000 rows from Azure Table storage. Process them into a local instance of Sql Server. While processing the rows it deletes 100 rows at a time from the Azure tabl...

Managing Lots of Azure Queues

Part of my application includes a "chat" system. I maintain a queue for each user. Messages to the user are placed in the queue, and the user's software periodically polls a rest service for new messages, at which point the queue is pumped for messages, and they are returned to the user. The system is very simple, works well, and does ...

Determine request Uri from WCF Data Services LINQ query for FirstOrDefault against Azure without executing it?

Problem I would like to trace the Uri that will be generated by a LINQ query executed against a Microsoft.WindowsAzure.StorageClient.TableServiceContext object. TableServiceContext just extends System.Data.Services.Client.DataServiceContext with a couple of properties. The issue I am having is that the query executes fine against our A...

Windows Azure Cloud Storage - Impact of huge number of files in root

Hi all, Sorry if I get any of the terminology wrong here, but hopefully you will get what I mean. I am using Windows Azure Cloud Storage to store a vast quantity of small files (images, 20Kb each). At the minute, these files are all stored in the root directory. I understand it's not a normal file system, so maybe root isn't the corr...

Windows Azure Storage vs. SQL Azure

I saw that there was a similar question asked several months back, but it really didn't address my situation well. Here it goes... I'm in the process of building from scratch a web-based, .NET application that has the potential to become a high-volume site (several hundred thousand page views a month to start) and am strongly consideri...

Need to store 128 *bit* Primary Key: Should I use SQL Azure or Azure Table? Or Just use a linked list in Azure Blob

I need to store a large (128-bit) PK. Each int will have some corresponding columns... no schema is defined now... and I want the schema flexible in the future. (I only need conservative flexibility eg adding new columns from time to time) At this point I'm not too concerned with the ability to do joins and such. I mostly want to pick...

Windows Azure Table: C# API for Update/Merge ?

Windows Azure Table has two distinct mechanisms for altering an existing entity: Update, which modifies properties in place, and Merge which replaces the entire entity. Which of these is used when you call TableServiceContext.UpdateObject()? (I'm guessing Update.) And is the other one exposed at all through this API? (Apologies if th...

Retrieve a particular field value from Azure table

The following code always throws exception .... DataServiceContext ctx = account.CreateCloudTableClient().GetDataServiceContext(); var val = (from t in ctx.CreateTable<MyClass>("TableName") select new {testval = t.id}).FirstOrDefault(); If I read the entity it works fine: var val = (from t in ctx.CreateTable<MyClass>("T...

Azure development storgare service running as a windows service

I am working on a project that is a very large central media repository that uses Azure storage to house all of our external binaries that will be cosumed by 3rd party applications. We have the app working with azure, but are now moving forward to adding a bunch of new features and the "develop and test from you local box" form of testi...

Windows Azure - Web Role cannot access Local Development Queue Storage

I have a class library that is shared between multiple Role projects in my solution. Two of these projects are a Web Role and a Worker Role. They each have the same Configuration Setting: <Setting name="QueueConnectionString" value="UseDevelopmentStorage=true" /> each of them is making a call to this function: public static void Ad...

Windows Azure Storage in VB: Not running in a hosted service or the Development Fabric.

I'm trying to run an instance of the Azure Blob Storage in the Azure Visual Studio 2010 development environment, but keep getting the following error: System.InvalidOperationException: Not running in a hosted service or the Development Fabric. The stack trace is pointing to these lines: Imports Microsoft.WindowsAzure Imports Microsof...

Exception when deleting message from Azure queue?

I'm dipping my toes into Windows Azure, and I'm running into something that has to be simple, but I just can't see it. I have this small test to play with Azure queues: public void CanPublishSillyLittleMessageOnQueue() { var queueClient = CloudStorageAccount.DevelopmentStorageAccount.CreateCloudQueueClient(); var testQueue = qu...