Software Engineer | C#/.NET, AngularJS, and Raspberri Pi Enthusiast

Blog posts


A few months ago, Jimmy Bogard, author of the excellent AutoMapper wrote a great article about Autoprojecting LINQ queries. Now that Jimmy has done all the hard expression tree work, this article extends his example to include caching and simple flattening capabilities and goes on to show it in use in a simple EF 4.1 more » Read more →

Installing Node, NPM and Express on OSX from Scratch

Prerequisites You need to have Git installed. By far, the easiest way to do this is with Homebrew. Follow these Homebrew Installation Instructions. Now that you’ve got Homebrew installed, use it to install Git from within your Terminal: $ brew install git Installing Node If you don’t have Git installed, use Homebrew to install that more » Read more →

Enable or disable LazyLoading in Entity Framework

One of the most interesting Entity Framework features is the Lazy Load function, which allows a deferred data load of your related entities, meaning that DB data won’t be loaded until you specifically request it. To better understand how it’s working, let’s take these sample Entity classes: C# 1 2 3 4 5 6 7 8 9 10 11 12 more » Read more →

The Revealing Module Pattern || JavaScript Design Patterns

The Revealing Module Pattern Now that we’re a little more familiar with the module pattern, let’s take a look at a slightly improved version – Christian Heilmann’s Revealing Module pattern. The Revealing Module pattern came about as Heilmann was frustrated with the fact that he had to repeat the name of the main object more » Read more →

How do you select a particular option in a SELECT element in jQuery?

Question: If you know the Index, Value or Text. also if you don’t have an ID for a direct reference. This, this and this are all helpful answers. Example markup [code] <pre class=”default prettyprint prettyprinted”><code><span class=”tag”><div</span> <span class=”atn”>class</span><span class=”pun”>=</span><span class=”atv”>”selDiv”</span&… Read more →

Install git on Mac with HomeBrew

Install Git on Mac OSX with Homebrew Having trouble installing Git DVCS on your Mac using the Homebrew package manager? I had trouble too, but it was an easy fix. Note: this is part of my article where I’ve outlined how to setup your Mac for web development and is also part of my learning to code journal. As more » Read more →