The Superman Effect

The nature of writing code is inherently difficult. Programmers are asked to build complex systems, make them easy to use, and hopefully do it with minimal bugs and security holes. And generally it’s the act of problem-solving that goes into writing code that is the hardest part. I’ve been writing code in some form or …

Read more


Post-Release Maintenance

Of all things that go in to building software, my favorite part is releasing code to production. It’s nice when users can finally benefit from all your hard work knowing that perhaps you made their jobs a little bit better. And whether you’re building an internal line-of-business website, a downloadable product, or a new version …

Read more


The Now Page

I stumbled across a really great idea today from Derek Sivers – the Now page. The premise is quite simple: people ask or want to know what you’re currently working on, and what better way to tell them than to point them to a short, easy-to-remember URL (i.e. /now). When writing my own Now page, …

Read more


Serialize Web API HttpHeaders as JSON

Here’s a little C# extension class that serializes a set of HttpHeaders as a JSON string: View the code on Gist. NOTE: It uses the JSON.NET library to do the actual serialization. For example, if you want to serialize Web API request (or response) headers, you might do something like this: var serializedHeaders = request.Headers.ToJson(); …

Read more


Extract Custom Header Value From Web API Request

Here’s a simple C# extension method that returns the value of a custom header from a Web API request; it extends the HttpRequestMessage class: View the code on Gist. Assuming you have a HttpRequestMessage object, you can call it as such: var customHeaderValue = request.GetHeaderValue("Custom-Header"); Enjoy. Featured Image: All rights reserved by asienman

Read more


Common Outputs for Windows SC Command

I’ve been doing a bit of work with Windows services lately, in particular automated deployments of Windows services, which means I’ve been using the Windows SC command a lot. The SC command (short for “Service Controller”, located at C:\Windows\System32\sc.exe) is a really easy tool used to query/install/uninstall/start/stop Windows services from the command line. And if …

Read more


.NET Framework 4.5.1 SDK

Anyone out there remember the Arsenio Hall Show? One of his trademark gags was where he would think about certain things and would refer to them as “things that make you go hmmm”. Trying to find the download for the .NET Framework 4.5.1 SDK is one of those things. For some unknown reason, Microsoft decided …

Read more


Installing RabbitMQ on Windows

I’ve had to get RabbitMQ up and running on Windows a couple of times the last few weeks and instead of fumbling my way through it again, I captured the steps for a walkthrough. Here’s the rundown for how to install and configure RabbitMQ on Windows. NOTE: This is just to install a single RabbitMQ …

Read more