try-catch-FAIL

Failure is inevitable

NAVIGATION - SEARCH

Using Inversion of Control with the Default ASP.NET MVC App Template

I routinely get questions about using an IoC container, like StructureMap, with ASP.NET Identity, particularly with the way it’s set up in the default ASP.NET MVC project template.  In this post, I’ll show you the quickest way to IoC-enable the starter app. More...

Introducing SpecsFor<Web> Helpers!

SpecsFor<Web> Helpers will help you write cleaner, easier-to-read (and maintain!) specs for your ASP.NET MVC applications.  It’s the latest addition to the SpecsFor family, and the first of the Helpers line that I’m working on.  Read on to see what it can do for you and your team! More...

Random Link Roundup–10/24/2014

It’s Friday, so prepare for incoming awesomeness in the form of random links! More...

Random Link Roundup–10/17/2014

It’s been a while since I’ve posted a batch of links, mostly due to me catching pneumonia!  So, I have a ton of stuff for you today!  Oh, and it’s late! More...

Random Link Roundup–9/25/2014

It’s the last Friday of September.  Time for another cat pic and some links! More...

Random Link Roundup–8/29/2014

Once again, happy Friday!  As is the tradition, here’s a bunch of random useful links I stumbled across in my adventures this week. More...

Random Link Roundup–8/22/2014

Happy Friday again!  Here are more random, useful links I’ve come across over the last week. More...

Random Link Roundup

Happy Friday!  Here are some random, useful links I have come across over the last couple of weeks.  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...

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...