Linux Re-revisited

I have long been a Windows user, but I have a habit of installing Linux on a home machine every couple years to give it a chance to grow on me. It had never won me over to become my … Continue reading 

Posted in Uncategorized | 13 Comments

Using rake under IronRuby

Download and install IronRuby Go to http://ironruby.codeplex.com/ and click on the Downloads tab. Grab the .zip file that is appropriate for your platform. There is also a Windows Installer, but I don’t know what it does, so I stick with … Continue reading 

Posted in ruby | 1 Comment

Austin Code Camp 2010

A reminder that Austin .NET User Group’s Code Camp is in a couple days – Saturday, May 15 2010. Code Camp is always free, and registration is still open. At 9am, I’ll be talking about “Leveraging conventions in .NET”. I’ll … Continue reading 

Posted in Uncategorized | Leave a comment

Adding git commit information to your assemblies

The problem It is a fairly common practice of .NET projects hosted in Subversion to include the repository Revision number as part of the AssemblyVersion. For example, MyWidgets.dll might have a version of 1.2.0.5309, which means it was built from … Continue reading 

Posted in git, teamcity | 6 Comments

Teaching AutoMapper about our conventions

I often need to send data from my entities to the client in JSON format to enable rich AJAX functionality. It isn’t practical to serialize the entities directly, so they are first flattened to a data transfer object (DTO) before … Continue reading 

Posted in automapper, conventions | 2 Comments

Adding variable output behavior to your FubuMVC actions

Introduction A question I’ve received multiple times now when discussing FubuMVC’s flexibility: can I make a single controller action render a view, or json, or rss/xml, etc., based on a request header, or some portion of the URL? The short … Continue reading 

Posted in fubumvc | Leave a comment

How to resolve a binary file conflict with Git

When performing a merge in git, you might see the message: warning: Cannot merge binary files: HEAD:somefile.dll vs. otherbranch:somefile.dll Auto-merging somefile.dll CONFLICT (content): Merge conflict in somefile.dll Automatic merge failed; fix conflicts and then commit the result. In this scenario, … Continue reading 

Posted in git | 6 Comments

FubuMVC – Define your actions your way

In this post I’m going to try and demonstrate the flexibility that FubuMVC allows in how you build your web applications. While FubuMVC is opinionated about some things (lean on your container as much as possible), it mostly gets out … Continue reading 

Posted in fubumvc | 8 Comments

Readable Regular Expressions Revisited

Many, many years ago (internet time), I proposed a fluent interface for composing regular expressions. People either loved the idea or hated it (or thought it was just ok). The intention was to try and tackle the opaqueness of regular … Continue reading 

Posted in Uncategorized | 3 Comments

Big Visible TeamCity

Big Visible Cruise is a cool utility for adding a build information radiator to your team room. It makes your Cruise Control build status immediately clear with a large green (good) or red (bad) screen. My (admittedly limited) search for … Continue reading 

Posted in greasemonkey, teamcity | 17 Comments