I am blog

These are the things I write about

Recent posts

Customising Azure deployment: Running unit tests when deploying to Azure with Kudu

Customising Azure deployment: Running unit tests when deploying to Azure with Kudu

Don't make me remember to run all my units tests, do it for me. Adding unit tests to the Kudu deploy script.

Getting an SSL cert is just the first step on the road to HTTPS

Getting an SSL cert is just the first step on the road to HTTPS

When I considered moving this blog to HTTPS all I thought about was getting an SSL certificate. Actually the certificate is only the first step, there is plenty more to do.

Cannot enable SNI SSL for a hostname because current site does not allow it

Cannot enable SNI SSL for a hostname because current site does not allow it

Let me guess, you're trying to set up an SSL certificate on Azure. I know, it happened to me.

My desktop build

My desktop build

Tools matter. And when there isn't a ready made tool for the job you have to make your own. Enter the ultimate desktop build.

The tale of the list control, the async call and the layout cycle error

The tale of the list control, the async call and the layout cycle error

This one had me banging my head against the wall for a long time, refreshing a list of items was causing the app to crash when it was repopulated.

Make your code more readable on GitHub | Visual Studio

Make your code more readable on GitHub | Visual Studio

There is nothing more frustrating than having to horizontal scroll a file on GitHub. It doesn't make for a happy user experience. Not for me anyway.

Enforcing naming conventions of async methods with NDepend

Enforcing naming conventions of async methods with NDepend

By convention, the name of an async method should end with the "Async" suffix. It's one of those things that can easily be forgotten by a developer and missed in a code review. By creating a custom rule, NDepend can report when this rule is violated.

Testing property changed events with MvvmCross

Testing property changed events with MvvmCross

If you're using MvvmCross to handle property changed events you might find that executing a valid unit test fails because the property changed event doesn't fire.

A pattern for responsive applications in WPF

A pattern for responsive applications in WPF

For UWP or Windows Store apps, the VisualStateManager lets you make state changes at certain widths or breakpoints. Great for building responsive apps. Here is a pattern to do the same in WPF.

Ditching the mouse in favour of keyboard shortcuts | Visual Studio

Ditching the mouse in favour of keyboard shortcuts | Visual Studio

In an attempt to reduce my dependency on my trusty mouse, I decided it was time to expand my keyboard shortcut knowledge.