Category Archives: Azure Architecture

Migrating an existing WebAPI into Serverless functions!

We have been dabbling with Serverless computing for sometime now . Recently we decided to check if it made sense to convert an existing customer’s WebAPI into a set of serverless functions. The accompanying question was which would be the right stack? AWS Lambda or Azure Functions. We aim to pen down here what were […]

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 […]

How we almost killed our Azure Deployment by diagnosing it!

We recently learnt a lot of new lessons in Azure Websites deployments and diagnostics and will plan to write a set of blogs to hopefully help some fellow programmers but this one lesson is most important to remember before you even start diagnosing! Recently while checking the health of one of our production deployments we […]

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 […]

Bulb Flash:-SQL Azure tip; Firewall rules: allow all incoming IPs during testing and Development!

Before we even show you how , do note that this should be done only during testing of non-critical data which will cause no issues if accessed from unintended applications.. SQL Azure tracks the IP address for the purpose of security . However sometimes during development( and co-development) when you don’t have a static IP, […]

Azure tip:- WCF 4.0 ServiceRouting in Azure?

Frustrated that your ServiceRouting code doesn’t work on Azure? Forget deployment..it doesn’t even work on the development fabric?? Thanks to Christian Weyer  for pointing us in the right direction. In order for ServiceRouting to work on Azure, a statement like RouteTable.Routes.Add( new ServiceRoute( “calculate”, new WebServiceHostFactory(), typeof(CalculatorService))); is not enough… you will also need to […]

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 […]