Building C# Lambda Expressions with LINQ

12 Jan 2019
Creating LINQ expressions for Entity Framework with dynamic/iterative AND/OR operations

This post contains a solution for a problem I often face when writing a specific class of queries in an ORM framework. The simplest example of this class of query is: imagine we store user date, like images, and the users can assign a set of tags to their images. They might use tags like "Summer 2016", "Outdoors", "Friends", etc.

Read article →

Cloning a GPT/NTFS Windows Drive

02 Oct 2018
How to clone a Windows harddrive to a smaller drive using a Linux machine surrogate

In this guide I'll walkthrough what I did to get a 1TB spinning hard disk running Windows 10 cloned to a 256GB SSD using a Linux machine surrogate. I think these steps can be reproduced using some live USB distros as well. As a warning this will truncate recovery partitions.

Read article →

Writing Custom MSBuild Compilation Actions

13 Sep 2018
How to make MSBuild actions that compile specific files and copy them nicely

I found myself requiring something I thought to be simple in the Visual Studio/MSBuild compilation ecosystem but turned out to be very difficult and hardly documented. What I wanted was:

Read article →

Quickly Writing Networked Applications

17 Apr 2015
Resources to get your applications working as fast as possible

I write a lot of networked applications for my work, research and personal projects and I've built up a few resource a long the way that allow me to get applications running as quickly as possible. I'd like to briefly share these tools for others to use in order to spend less time writing network code, and more time focusing on their application.

Read article →