try-catch-FAIL

Failure is inevitable

NAVIGATION - SEARCH

Gulp with ASP.NET: am I doing it wrong?

I hope the answer to that question is a very loud, emphatic, “YES!”  I like gulp!  I want to use it!  And I’ll confess up front that I’m still very green with gulp.  I know there are a lot of things it can probably do that I’m not taking advantage of.  But, I feel like my development experience has taken a step backwards compared to what I had with ASP.NET Bundling & Minification.  I feel like gulp has just added more development friction to my day.  Someone, please tell me that I’m doing it wrong. More...

Encapsulating Query Logic in MVC Apps Without the Repository Pattern

One of the most common questions I get when people see a video or presentation about how I build MVC applications is, “Why don’t you use the repository pattern?”  There are a lot of reasons not to use the repository pattern, and they’ve been well-covered by others.  But, one valid benefit they provide is encapsulation of query logic.  In this post, I’ll show you how you can maintain encapsulation in your applications without having to use the repository pattern. More...

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

Passing Data to Angular from ASP.NET MVC Views

Angular is a great tool for enriching an ASP.NET MVC application, but you must bridge the gap between your client-side code and your server-side code in order to use it effectively.  In this post, I’ll show you a couple of ways that you can pass data from your Razor views to your AngularJS components. 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...

SpecsFor.Mvc 4.1.0 Released!

Hot on the heels of SpecsFor.Mvc 4.0 comes the 4.1.0 release!  This is a minor update, but it adds a very-useful capability. More...

SpecsFor.Mvc 4.0 Released!

The final build of SpecsFor.Mvc 4.0 is live on NuGet.  Here’s a recap of what’s changed. More...

SpecsFor.Mvc 4.0 Coming Soon!

Hot off the NuGet press, it’s the first preview release of SpecsFor.Mvc 4.0!   This release introduces more configurability, exposes more state for your tests to examine, and (hopefully) greatly improves the initial setup experience by removing a lot of frustration. 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...