.NET Core

Decorators in .NET Core with Dependency Injection

Implementing a decorator pattern for the .NET Core DI framework.

Read More
Opinion

Can a 4-day work week work?

5 days of work in 4 days: can it work for both a developer and their company?

Read More
React

Conditional Rendering in React

Hide your conditional content with a component.

Read More
React

Higher-Order Components with React & TypeScript

Get the types right on your React HoCs in TypeScript.

Read More
ASP.NET Core

Post-Logout Redirect with ASP.NET Core and ADFS 2016

Make post_logout_redirect_uri work with ADFS

Read More
.NET Core

Find .NET Core packages in all projects

In a quick aide-memoire for next time I need to use it: here's a Powershell snippet that will return a list of all unique package names in all .NET Core projects under the current folder.

Read More
ASP.NET Core

Generic behaviour in ASP.NET Core with Action Filters

Everyone hates copy/pasting code, and Action Filters in ASP.NET Core MVC offer a great way to avoid filling your controllers with boilerplate

Read More
Opinion

Stop Agonising Over Tiny Details

I recently started a new side project using React and - having not used React in anger before - wanted to get off on the right foot...

Read More
Opinion

Finding Freedom in "JavaScript Fatigue"

A lot of people have spoken about "JavaScript fatigue": the idea that there are so many new frameworks, tools and ideas available to the average JavaScript developer that it`s impossible to keep up...

Read More
Typescript

Cleaning up Resources using MutationObserver

Let's say you've written a shiny new component in your favourite framework and somewhere along the way you've allocated a resource that cannot be automatically cleaned up by the browser.

Read More