Use Azure Management API SDK in an Entity Framework custom database initializer

A post over on Stack Overflow got me thinking about how you can override the default behaviour of the Entity Framework code first database initializer so that the tier of the database created is something other than the deprecated 'Web' tier. Here's one way to go about it. Required bits There are a few things … Continue reading Use Azure Management API SDK in an Entity Framework custom database initializer

Save VM Run Costs in Azure – Shut em down!

One of the benefits of public cloud services is the rich set of APIs they make available to developers and IT Pros alike. Traditionally if you requested compute resources for development or testing purposes you placed a request, waited for your resources to be provisioned and then effectively left them running. Periodic audits by your … Continue reading Save VM Run Costs in Azure – Shut em down!

A New Computing Metric for the Cloud: Time-To-Scale-Out

Last week I was looking through my timeline and came across this tweet from Troy Hunt asking about how the autoscale features in Azure worked. https://twitter.com/troyhunt/status/471985351041368064 (click on the date of the above tweet to view the entire conversation I had with Troy). In and of itself this question doesn't immediately seem unusual. Then you … Continue reading A New Computing Metric for the Cloud: Time-To-Scale-Out

What Happens When You Delete a User from Visual Studio Online

As of May 7 2014, Visual Studio Online has shifted to a paid model where all user accounts over the basic 5 user limit must hold a paid license in order to access and use the service. So, what happens when you remove a user's account from Visual Studio Online? Let's take a look. No, really, … Continue reading What Happens When You Delete a User from Visual Studio Online

The False Promise of Cloud Auto-scale

Go to the cloud because it has an ability to scale elastically. You've read that bit before right? Certainly if you've been involved in anything remotely cloud related in the last few years you will most certainly have come across the concept of on-demand or elastic scaling. Azure has it, AWS has it, OpenStack has it.  It's one … Continue reading The False Promise of Cloud Auto-scale

Use Tags to better manage your TFS work items

Updated: early in 2014 Microsoft released an update that now makes it possible to query using Tags.  See the full details online. As many of you have found, at present it isn't possible to customise work item templates to provide custom fields the same way you can in the on-premise version of TFS. While the … Continue reading Use Tags to better manage your TFS work items

Portable Azure Mobile Services DTOs when using Xamarin and C#

As part of an upcoming talk I am giving I am spending a lot of time working on a demo that shows how to do push notifications cross-device. One concept that is really drummed in when working in this space is that building reusable C# is key to leveraging the savings from building Windows Phone, … Continue reading Portable Azure Mobile Services DTOs when using Xamarin and C#

Debug iOS App from Visual Studio with Xamarin extension using the iPhone Simulator.

This is a really quick and easy tip for those starting out doing iOS development with Xamarin (and specifically with the Visual Studio extensions). If you don't have access to an iOS device and want to debug on the Simulator that ships with Xcode make sure you do the following: Set the "Platform" to "iPhoneSimulator" … Continue reading Debug iOS App from Visual Studio with Xamarin extension using the iPhone Simulator.

How to add a Site-to-Site VPN to an Azure Virtual Network after setup.

I have recently been working on a couple of engagements that involve utilising the site-to-site connectivity features of Windows Azure Virtual Networks. On one engagement we went through the setup of the Virtual Network early on before the customer's network team had gotten involved and we just skipped the setup of the site-to-site connection at … Continue reading How to add a Site-to-Site VPN to an Azure Virtual Network after setup.

Feature Request: Generate PowerShell Scriptlets From the Azure Management Portal

I was at a customer the other day wrapping a successful project delivered on Windows Azure when one the customer's team suggested a great idea - why not generate PowerShell scriptlets from actions completed within the Azure Mangement Portal so that you can re-issue the command at any future point (or in a different Azure … Continue reading Feature Request: Generate PowerShell Scriptlets From the Azure Management Portal