try-catch-FAIL

Failure is inevitable

NAVIGATION - SEARCH

Perfect PDF Sale!

I’m running a sale this weekend to celebrate Perfect PDF graduating from beta!  You can grab an unlimited license that covers you and your entire team, as many applications as you want to build, for $79 right now.  If you need to convert HTML to PDF in your ASP.NET MVC application, Perfect PDF is for you! If you just want to try it out, you can grab a trial off of NuGet: After that, all you have to do is return a PdfActionResult that points to the view you want to render as a PDF: //Normal ASP.NET MVC Action that renders a dashboard... public ActionResult Dashboard(Dashboar... [More]

SpecsFor Basics - Writing Your First Spec, Part 2

The documentation on SpecsFor is sorely lacking.  Me (and another volunteer!) are working to fix that.  This is part of a series of posts about SpecsFor, which will eventually make its way in to the official docs. More...

SpecsFor 4.0.1 Released, SpecsFor.Templates 1.0.0 Released!

Two new releases today.  The first is a small improvement to SpecsFor, the other is a completely new ReSharper extension to jump-start your productivity with SpecsFor. More...

I Just Launched My First Product: Perfect PDF for ASP.NET MVC

I’m currently in the midst of the longest vacation I’ve taken in over 3 years.  Aside from cranking out content for my next Pluralsight course, working on improving the startup experience for SpecsFor and SpecsFor.Mvc, AND working on an entirely new member of the SpecsFor family, I also decided I wanted to ship a product!  Say hello to Perfect PDF for ASP.NET MVC! More...

SpecsFor Basics - Writing Your First Spec, Part 1

The documentation on SpecsFor is sorely lacking.  Me (and another volunteer!) are working to fix that.  This is part of a series of posts about SpecsFor, which will eventually make its way in to the official docs. In our last post, we looked at organizing specs in a typical web project.  We created two projects to house our specs, and we added SpecsFor to each of them using NuGet.  In this post, we'll shift gears and focus on the mechanics of testing as we create our first spec! More...

SpecsFor 4.0 Released

In what will assuredly be the most lack-luster major release of all time, SpecsFor has been bumped to version 4.0.  There are no new features in this update.  So why is this 4.0?  This new version uses StructureMap 3.0, which was not compatible with previous versions of SpecsFor.  Because of changes in StructureMap’s automocker, this release also (finally) breaks the useless dependency on Rhino Mocks.  So, enjoy!  The latest version is on on NuGet.

SpecsFor Basics - Creating Your First Test Project with SpecsFor

The documentation on SpecsFor is sorely lacking.  Me (and another volunteer!) are working to fix that.  This is the first in a series of posts about SpecsFor, which will eventually make its way in to the official docs.  In this post, I'll show you how to add SpecsFor to your project using NuGet, and I'll show you how I typically organize my specs. More...

Using HttpContext Safely After Async in ASP.NET MVC Applications

Another day, another Entity Framework (and ASP.NET MVC 5) async problem, and another solution for you!  Actually, today I have two solutions for you!  This time, I ran into a problem with HttpContext's Items collection losing my IoC container when execution resumed after an await.  The fix is simple once you understand what's going on. More...

Painless Workstation Setup with Boxstarter

I recently used Boxstarter to set my development machine back up after a format.  Boxstarter is a game-changer for Windows.  I create a simple Powershell script, ran a simple command, then walked away as my machine spent the next several hours downloading, installing, and rebooting, all without me lifting another finger.  When the dust settled, I had a Windows 8.1 machine with my tools and utilities installed, updated, and ready to rock. More...