23rd November 2017
There are several ways to unit test the results of calling HttpClient but I’ve outlined two here. Consider them opposite sides to the same coin. The first uses Moq and the second implements a mock HttpMessageHandler directly.
Tags: Unit tests19th July 2017
Setting up WebDeploy on a server is never as simple as it should be because there are several places it can go wrong and there is a reliance on things being done in the correct order. I explain how to get it right each time.
Tags: WebDeploy , IIS , Deployments19th January 2016
Send filtered .Net exception notifications to an Airbrake-based management tool using Elmah's HttpModules.
Tags: Elmah , Exception handling , Airbrake12th November 2015
Following on from my original post about a bug in async/await actions in custom controllers in Umbraco 6 & 7, I did some investigations and found the cause. So I thought I'd outline my solution for all those who can't upgrade. It's also an interesting trip into code that you wouldn't normally touch.
Tags: Umbraco , Async12th October 2015
Custom controllers in Umbraco natively support async/await operations but it's not clear how to implement an asynchronous controller correctly.
Tags: Umbraco , Async