Development

.NET

Autofac and Async Resources

I came across a problem on a recent WebAPI project where I wanted to use Autofac to inject some tenant information (i.e. derived per request) into the constructor of each controller

Read More
TypeScript

Maintaining Context in TypeScript classes

TypeScript is generally pretty good at persisting `this` in functions but there are certain circumstances where you can get a class function to run in the wrong context.

Read More
Unit Testing

Faking Mouse Events in D3

A helping hand when unit testing D3 and mouse events.

Read More
ASP.NET

Custom Operation Names with Swashbuckle 5.0

One of the many ways to customise Swagger output with Swashbuckle.

Read More
Azure

RESTful Reporting with Visual Studio Online

Generating custom reports from Visual Studio Online.

Read More
Knockout

Sorting in KnockoutJS with ko.plus

Sorting collections in Knockout with ko.plus.

Read More
ProxyApi

Hiding ProxyApi Routes from Web API Help Pages

Keep your Web API help pages tidy when using ProxyApi

Read More
Opinion

Learn through Doing

Tell me and I forget. Involve me and I learn.

Read More
Unit Testing

Selenium: Early Thoughts on Test Automation

My thoughts on a first dive into using Selenium for test automation.

Read More
Debugging

Chrome Dev Tools & Inline Dynamic JavaScript

Explicitly tell Chrome to list your inline JavaScript in the devtools sources.

Read More