Patterns

.NET Core

Composite Pattern in .NET Core with Dependency Injection

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

Read More
.NET Core

Decorators in .NET Core with Dependency Injection

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

Read More
Knockout

Handling "this" in ko.command

The vagaries of "this" in Knockout commands.

Read More
ASP.NET

Exception Handling for Web API Controller Constructors

How to handle those scenarios that exception filters will miss.

Read More
Knockout

Single Page Applications using Node & Knockout

This post is going to be a short walkthrough on how to use Node and KnockoutJS to create a simple single page application.

Read More
JavaScript

Publish & Subscribe Distributed Events in JavaScript

Distributed events let you define a named event that can be published or subscribed to without the need to have a reference to any other object; this post attempts to bring that behaviour to JavaScript

Read More
Knockout

Editable Fields with Cancelability using Knockout

I quite often find myself wanting to write UI that is read-only until someone clicks on an Edit link, at which point it becomes editable and they can either save or cancel their changes.

Read More
Knockout

Server-Side Paged Lists in Knockout

Extending Knockout client-side paging to use server-side paging.

Read More
Knockout

Command Pattern v2 using Knockout

A few enahcements to a command pattern for KnockoutJs

Read More