Category Archives: Azure Storage

Using the Azure Support Portal to diagnose a CPU Spike!

In one of our recent projects we had alerts set up for CPU and memory spikes. The CPU alert was set at 10% and 50%. While we got the 10% alert periodically when the app was in active usage , we also got a few 50% alerts once in a while which would get resolved […]

Using InsertOrReplace/InsertOrMerge with the Storage Client!

Trying out the new Replace or Insert option(Upsert) in the Storage Client and can’t get rid of the following error message “"<?xml version="1.0" encoding="utf-8" standalone="yes"?>rn<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">rn  <code>InvalidHeaderValue</code>rn  <message xml:lang="en-US">The value for one of the HTTP headers is not in the correct format.</message>rn</error>"” The main issue is that the new API is available only in the […]

When Azure Diagnostics just won’t collect your data!!!

Recently realized that while we had happily implemented tracing and diagnostics in our applications , tools like Cerebrata , Azure MMC etc were just not showing any trace data.. We were doing everything by the book and even re-opened the training kit but the trace just won’t get collected. After A LOT of investigation and […]

Azure Tip:- WCF WebRole Accessing Table Storage:- SetPublisherAccess error

If you are using a WCF Web Role to access table storage you might come across the following error SetConfigurationSettingPublisher needs to be called before FromConfigurationSetting can be used The following steps can help you 1. Ensure you have the Cloud project set up as the start up project 2. Ensure you are using the […]

Azure Scalability:- Use “Queues” as your bridges..

I feel the importance of Queues as a communication medium between Web and worker roles is quite a bit under-glorified…apart from acting as reliable messengers , if implemented properly Queues pretty much hold the key to your application being Extensible and Scalable Windows Azure Queue allows decoupling of different parts of a cloud application, enabling […]

Bulb Flash:- Azure Message Queues-Passing objects

Azure queue takes either an array of bytes or a string as an input. While working on a web role- worker role interaction , i needed to pass the entire TableServiceEntity object(basically the Azure table datamodel) to the worker role. I needed the partition key, the row key as well as some other attributes of […]

Programming Table Storage in Azure…Choosing your Keys!!

Azure holds a lot of promise for applications with 1. Spikes in usage 2. Requirement for low set up cost 3.Huge storage requirements Out of these 3 major benefits, most applications will exploit the 1st and the 3rd potential of Azure!..While Spikes in Usage is more related to how the application is architected etc(we’ll talk […]

Bulb Flash:- Remember the restrictions in Azure!!

Was collating all sorts of size restrictions for tables, blobs etc but found this really useful post by Cerebrata which has the exact info i wanted to collate!! Another useful blog by them is on the differences between Dev storage and cloud storage…will help prevent frustrating moments while going uphill the learning curve!! Thanks Cerebrata!! […]