ASP.NET bundling minifies pre-minified files

ASP.NET solves the issue of having too many loose resource files by providing a built-in tool to automatically bundle script and stylesheet files. In theory, if you add a script that has both a .js and .min.js file to a bundle, then in debug mode the .js file will be included on the page, while in release the .min.js file (and every other file in the bundle) will be combined into a single file. Unfortunately the reality is different, and you can see ASP.NET trying to re-minify the .min.js file instead of just concatenating it.

A Map, a Marker, a Cat: Mapping with Leaflet

Maps are cool. Really, really cool. They’re an intuitive way to view mass amounts of data in a quick manner, making it easy to tell where to find a thing and how to get to said thing. Maps have long existed in a variety of physical media, but with the advent of the internet came the interactive map. This article will teach you how to make your own map using JS, Leaflet, and the Cat API. This is a long post with both background and a tutorial; you may want to skip to the part where we build our Cat-powered map.

Windows on Mac Tips

I work in what is primarily a .NET shop, but we also do a lot of development using other technologies. Since I prefer to have a rounded skill set, and working in JS and Ruby is painful on Windows, my work machine is a MacBook Pro. I’ve collected a set of scripts and tricks to make this process as smooth as possible. I virtualize our standard Windows development machine through VMWare Fusion, but the tips should apply to other solutions, such as Parallels.

DataTable to IEnumerable of Dictionaries in C#

A snippet to convert a DataTable to an IEnumerable of Dictionaries, implemented in C#. Useful in cases where the structure returned by a query is unknown due to dynamic query generation and sacrificing strong typing is acceptable.

My Projects

Below is a sampling of big projects that I've worked on.