Recent Posts

Automating repetitive tasks with Azure Functions.

Since the announcement of Azure Functions at Build 2016, Iā€™ve been looking for an excuse to use them and I finally found it. Whenever we release a new version of our software, the actual process for building and committing to source control is really simple and takes just a few minutes. Then I get to spend at least 30 minutes on our internal job management system telling it about the new rele...

Since the announcement of Azure Functions at Build 2016, Iā€™ve been looking for an excuse to use them and I finally found it. Whenever we release a new version of our software, the actual process for building and committing to source control is really simple and takes just a few minutes. Then I g...

Windows 10 Mobile: An update

Even though my previous post was only published 6 days ago, it was written a week before that so Iā€™ve now got 3 weeks of usage under my belt and felt the need to post an update. The biggest issue Iā€™ve encountered over the last few weeks, and which I forgot to incude in the previous post, was battery life. This was suffering quite a bit in diaily use to the point where regular use of email, Rea...

Even though my previous post was only published 6 days ago, it was written a week before that so Iā€™ve now got 3 weeks of usage under my belt and felt the need to post an update. The biggest issue Iā€™ve encountered over the last few weeks, and which I forgot to incude in the previous post, was bat...

Windows 10 Mobile: Impressions after a week.

Iā€™ve been keeping a close eye on Windows 10 Mobile, and I havenā€™t really liked what Iā€™ve seen. The navigation is a clear lift from Android, and not in a good way, and paradigms like the Pivot control which made WP8.1 unique seem to have disappeared. But Iā€™ve never been one for sticking my head in the sand and sticking to the current version of something because the new version looks scary and d...

Iā€™ve been keeping a close eye on Windows 10 Mobile, and I havenā€™t really liked what Iā€™ve seen. The navigation is a clear lift from Android, and not in a good way, and paradigms like the Pivot control which made WP8.1 unique seem to have disappeared. But Iā€™ve never been one for sticking my head in...

In-place upgrade Windows?! Youā€™ve got to be kidding me!

Before the release of Windows 8, this was my default reply to anyone who dared suggest doing an in-place upgrade of Windows. Iā€™d done it before in upgrading from 98 to ME and Iā€™d seen and heard many horror stories of failed in-place upgrades that it become clear that it wasnā€™t even worth the effort, you were going to have to do a fresh install either way, so you may as well make it plan A. The...

Before the release of Windows 8, this was my default reply to anyone who dared suggest doing an in-place upgrade of Windows. Iā€™d done it before in upgrading from 98 to ME and Iā€™d seen and heard many horror stories of failed in-place upgrades that it become clear that it wasnā€™t even worth the effo...

OpenLiveWriterā€“Itā€™s like Windows Live Writer but it works with my blog!

Since I started blogging, Iā€™ve had to suffer the apalling mess that is the blogger editor. Windows Live Writer was hailed as the panacea of free editors, but whatever I tried I could never get it to work. Then Scott Hanselman and a group of Microsofties resurrected it as Open Live Writer and less than a week later, blogger support now works! Go download Open Live Writer now!

Since I started blogging, Iā€™ve had to suffer the apalling mess that is the blogger editor. Windows Live Writer was hailed as the panacea of free editors, but whatever I tried I could never get it to work. Then Scott Hanselman and a group of Microsofties resurrected it as Open Live Writer and le...

Windows 10 upgrade experience

Microsoft have really upped their upgrade game. Pre-Windows 8, there was no point even bothering with an upgrade. Even if it completed without bricking your machine, the end result would be so unstable youā€™d just pave it and start again anyway. The upgrade from 7 to 8 was relatively painless, I only needed to reinstall a handful of applications afterwards, not a big deal. 8 to 8.1 was seamle...

Microsoft have really upped their upgrade game. Pre-Windows 8, there was no point even bothering with an upgrade. Even if it completed without bricking your machine, the end result would be so unstable youā€™d just pave it and start again anyway. The upgrade from 7 to 8 was relatively painless, I...

UniqueIdentifier as a primary key, that will solve all of our problems!

No, no it wonā€™t. In evolving a single-instance website to multi-instance one, one of the many problems I have faced is how to deal with database access when your website instances are on the opposite side of the world. My solution to this was to use SQL Azure Data Sync, makes sense as my databases are already in SQL Azure anyway. Facilitating this involved changing all of the integer primar ...

No, no it wonā€™t. In evolving a single-instance website to multi-instance one, one of the many problems I have faced is how to deal with database access when your website instances are on the opposite side of the world. My solution to this was to use SQL Azure Data Sync, makes sense as my databa...

Windows Phone 10 - First Impressions

After running the Windows 10 Technical Preview on my laptop for the last few months and being generally happy with it, bar the obvious problems you get running a Technical Preview, Iā€™ve been itching to get my hands on Windows Phone 10 (officially referred to as Windows 10 Mobile, but Iā€™m going to refer to it as WP10). As a very happy owner of a Lumia 1020, Iā€™ll be getting it eventually so thoug...

After running the Windows 10 Technical Preview on my laptop for the last few months and being generally happy with it, bar the obvious problems you get running a Technical Preview, Iā€™ve been itching to get my hands on Windows Phone 10 (officially referred to as Windows 10 Mobile, but Iā€™m going to...

Getting started with Azure Application Insights

Now that pricing information has been released for Application Insights, I decided to take the dive and deploy it on a few of the web applications I work on. The documentation is pretty good for your basic scenarios, but it glosses over what I think are probably common use cases. The instrumentation key (commonly referred to as the iKey) is located in an applicationinsights.config file, whi...

Now that pricing information has been released for Application Insights, I decided to take the dive and deploy it on a few of the web applications I work on. The documentation is pretty good for your basic scenarios, but it glosses over what I think are probably common use cases. The instrume...

Close a window by title in C#

When youā€™re developing for embedded systems that donā€™t have a mouse or keyboard attached, a misbehaving program that decides to pop up windows at random is suddenly a lot more inconvenient. Cue the below code snippet, which takes in a window title and sets itā€™s state to minimised, maximised, or normal depending on the parameters you pass in. As usual, this is a Linqpad script. You just need to...

When youā€™re developing for embedded systems that donā€™t have a mouse or keyboard attached, a misbehaving program that decides to pop up windows at random is suddenly a lot more inconvenient. Cue the below code snippet, which takes in a window title and sets itā€™s state to minimised, maximised, or ...