try-catch-FAIL

Failure is inevitable

NAVIGATION - SEARCH

Heroic.AutoMapper 4.0 Released!

Thanks to Chuck Bryan, Heroic.AutoMapper is now compatible with the latest-and-greatest from Jimmy Bogard's AutoMapper library. Update now for AutoMapper 6 support, and as usual, let me know if you have any problems after the upgrade. Thanks, Chuck!

Heroic.AutoMapper 3.0 (Almost) Released

It's release candidate time (finally): you can now use AutoMapper 5 with Heroic.AutoMapper!

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

A Better Way to Configure AutoMapper for ASP.NET MVC (Video)

AutoMapper is one of the essential tools in my ASP.NET MVC toolbelt.  I use it on every MVC project I do.  It's saved me countless lines of code over the years.  And yet, there's always been one thing that bugged me about it: it violates the idea of "common closure."  I've built a better way to handle this, but as my friends have accused reminded me, I might have forgotten to share this approach publicly.  Until now. More...