Colin Bacon, web developer.

I am blog

These are the things I write about

Recent posts

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.

Ignore NDepend from your git repository

Ignore NDepend from your git repository

This article shows how to ignore NDepend files from your git repository.

NDepend: First impressions from a static analysis newbie

NDepend: First impressions from a static analysis newbie

A tool that has recently come to my intention is NDepend, a static analysis tool for .NET. This article is a summary of my first impressions with NDepend.

Customising Azure deployment: Compile Sass when deploying to Azure from a Git repo

Customising Azure deployment: Compile Sass when deploying to Azure from a Git repo

This article demonstrates how to set up a deployment script to compile Sass when deploying a .NET Web Application Project from a git repo to Azure.

Create a flag with CSS

Create a flag with CSS

Corner flags are a nice way of labelling an image to emphasise something is 'new', 'featured' or 'on offer'. Often these effects are done with images. This tutorial gives an example of how to achieve this using CSS and semantic HTML.