June 2011 Entries

A Generic, IDisposable WCF Service Client

WCF clients need to be cleaned up properly, but as they're usually auto-generated they don't implement IDisposable. I've been doing a fair bit of WCF work recently, so I wrote a generic WCF client wrapper which effectively gives me a disposable service client.

Simple Solutions to Horrible Azure Pain - as Usual

I recently spent far too long debugging a problem with our Azure application. We have two Azure cloud projects, and at about the same time they both started refusing to start; the web applications they house both worked perfectly when deployed to local IIS. There turned out to be two different problems - both very simple - so I thought I'd share what they turned out to be :)