try-catch-FAIL

Failure is inevitable

NAVIGATION - SEARCH

SpecsFor.Mvc 3.0.0 Preview 5–Now Compatible with ASP.NET MVC 5!

There’s a new preview release of SpecsFor.Mvc available on NuGet now.  There are a lot of changes in this release, and there are some unavoidable, manual steps you will need to take.  If no one encounters any major pain points due to this upgrade, I’ll publish the final package next week. More...

Git Tips & Tricks, Part 8–See What’s Changed (again!)

I showed you one way that you can quickly see what’s changed back in Part 6 by comparing two commits.  You can also see what changed in a specific commit and fire up your git diff tool for each change.  I’ll show you how in this  post. More...

Git Tips & Tricks, Part 7–Move Commits Between Branches with ‘cherry-pick’

One of my favorite git features is the ability to grab a commit and re-apply it on a different branch.  In this post, I’ll show you how to do this with the ‘cherry-pick’ command. More...

Git Tips & Tricks, Part 6–Quickly See What’s Changed

Today’s entry includes two tips for the price of one!  I’ll show you how to use git with Powershell to see all the files that changed between two commits.  I’ll also show you a quick and easy way to determine when a particular file was removed from source control. More...

Git Tips & Tricks, Part 5–Checking Your Commit for TODOs

Today’s simple tip will show you how to check for lingering “TODO” comments before you push your code up to your shared repository. More...

Git Tips & Tricks, Part 4–Breaking a Commit Up

Today’s tip is pretty simple.  I’m going to show you how you can break up a commit into multiple, smaller commits after you’ve already committed everything to your local repo. More...

SpecsFor.Mvc 3.0 Preview 2 Package Released!

The new ‘preview 2’ release of SpecsFor.Mvc is now available on NuGet.   This update is built against the latest Selenium WebDriver package and ASP.NET MVC 4.  It no longer depends on MvcContrib.TestHelper, either, as all the relevant functionality has now been absorbed into SpecsFor.Mvc.  In addition, this preview release fixes several bugs and adds support for cleaning up the published site when using the embedded IIS Express host. Going forward, the SpecsFor.Mvc package will require a specific version of Selenium WebDriver.  I generally don’t like it when packages ... [More]

Highlighting the Current Link in a Menu with ASP.NET MVC

A fairly-common UX pattern is highlighting the link within a menu that corresponds to the page or section that a user is currently on.  This can be done quite easily in ASP.NET MVC.  Here’s a simple, strongly-typed extension method that you can drop in. More...

Book Review: Instant Razor View Engine How-to

I consider myself an ASP.NET MVC expert.  I’m very comfortable with the platform, I’ve been through a large portion of the source, and I’ve built countless apps on it.  While I did find “Instant Razor View Engine How-to”  to be an adequate  reference for the basics of the Razor view engine, I would have a hard time recommending it.  More...

CodeStock 2013 Wrap-up

I had a blast at CodeStock 2013 this past weekend.  I met a lot of cool people, attended some great sessions, and got to hang out with some good friends. More...