Windows Git Tip: Hide ^M (Carriage Return) in Diff

A common point of confusion when getting started with Git on Windows is line endings, with Windows still using CR+LF while every other modern OS uses LF only. Git provides three ways to deal with this discrepancy, as described in … Continue reading 

Posted in git, msysgit | 15 Comments

F# + Razor View Engine = FSRazor

Last month InfoQ posted some info from the ASP.NET team about using F# with the new Razor view engine. It seemed like it should be pretty simple, so I thought I’d give it a shot. My (very rough) progress so … Continue reading 

Posted in asp.net mvc, F#, fsharp, fsrazor, mvc 3, razor | 5 Comments

Red Gate should have said…

Red Gate Software’s recent open letter to the .NET community has caused a bit of a stir. Here’s an alternate version that may have gone over better… In August 2008, Red Gate took over stewardship of .NET Reflector, one of … Continue reading 

Posted in red-gate, reflector | 11 Comments

RenderAction with ASP.NET MVC 3 Sessionless Controllers

One of the new features of ASP.NET MVC 3 is a controller-level attribute to control the availability of session state. In the RC the attribute, which lives in the System.Web.SessionState namespace, is [ControllerSessionState]; for RTM ScottGu says it will be … Continue reading 

Posted in asp.net mvc, ControllerSessionState, ControllerSessionStateAttribute, mvc 3, RenderAction, SessionStateAttribute | 1 Comment

Code Review with Git Patches and Outlook via PowerShell

In the spirit of “simplest thing that works,” my team has a rather low-fidelity approach to code reviews: patch files and e-mail. Nothing fancy, but we find it works rather well. It’s even easier thanks to git format-patch, which lets … Continue reading 

Posted in git, powershell | Leave a comment

Better git-svn Through Aliases: git up & git dci

I’ve been using git-svn for almost a year now, and have settled on a low-friction workflow that has been working really well. First, a few notes about how I work with Git and Subversion… For the most part, we avoid … Continue reading 

Posted in git, git-svn | Leave a comment

Git-Achievements in PowerShell

Reading through Jason’s post on using Git-Achievements with msysGit, I couldn’t help but get it working with PowerShell. The result is a single PowerShell script added to my Git-Achievements repository, tagged here on the off chance I decided to upload … Continue reading 

Posted in git, git-achievements, powershell | Leave a comment

msysGit error setting certificate verify locations

I had never had any problems using msysGit with SSL until last night, when I came across the following error: $ git pull Password: error: error setting certificate verify locations: CAfile: /bin/curl-ca-bundle.crt CApath: none while accessing https://dahlbyk@github.com/dahlbyk/posh-git.git/info/refs fatal: HTTP request … Continue reading 

Posted in git, msysgit | 8 Comments

posh-git Release v0.2

I just tagged the v0.2 release of posh-git, which you can download here. This is the last release supporing msysgit 1.6.5 and 1.7.0. In this release… PowerShell Module Thanks to a contribution from David Muhundro, posh-git now exposes its functions … Continue reading 

Posted in git, posh-git, powershell | 2 Comments

St. Louis Day of .NET – August 20-21, 2010

One of my favorite developer events last year was St. Louis Day of .NET. Not only were the facilities (Ameristar Casino) top-notch, but there were a ton of great sessions and I got to pick the brains of some really … Continue reading 

Posted in STLDODN | Leave a comment