try-catch-FAIL

Failure is inevitable

NAVIGATION - SEARCH

I’ll be speaking at the Nashville .NET User Group this Thursday!

I’ll be presenting “How to Build Beautiful ASP.NET MVC Apps for Non-Designers” at the Nashville .NET User Group this Thursday evening, 11/12/2015.  If you’re in the Nashville area, please come by and see me and the rest of the awesome folks that make up this group!  I’ll be sharing the tools, tips, and tricks that I use to build nice-looking web applications. 

Watch the Preview–“Building Strongly-typed AngularJS Apps with ASP.NET MVC 5”

If you’re curious what my latest Pluralsight course covers, I’ve put together a quick recap video.  You can check it out here! Let me know what you think!

New Course–Building Strongly-typed AngularJS Apps with ASP.NET MVC 5

My latest Pluralsight course is now live!  In Building Strongly-typed AngularJS Apps with ASP.NET MVC 5, I’ll show you how to leverage Angular and ASP.NET MVC together more effectively. More...

New (Stock) Layout, Same Infrequent Updates!

In other words, I finally have upgraded my blog!  I kind of had to, as my web host managed to break something with my old blog, and it was easier to just upgrade than restore from a backup.  So, now I’m running the latest-and-greatest.  If you notice anything that doesn’t work, let me know, and I’ll do my best to fix it ASAP.

SpecsFor - Better Partial Matching for Dates

I just shipped a small update to SpecsFor that improves the partial-matching story when dealing with dates. More...

The Decorator Pattern, Done Right, With StructureMap 3.0

Back in 2012, I wrote a post about how to use the decorator pattern with StrutureMap.  Since then, StructureMap 3.0 has been released, and it’s actually much easier to apply decorators now!  Read on, and I’ll show you. More...

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

Ditching StructureMap’s ObjectFactory

Another question people ask after they’ve watched my App Framework course at Pluralsight is, “What should I do now that StructureMap’s ObjectFactory has been deprecated?”  Actually, it’s more like a cry for help rather than a question.  It goes like this: “AAHHHHHH OBJECT FACTORY IS GOING AWAY WHAT DO I DO?? AHHHHHHHHHHHHHHHHHH!!”  Or at least that’s how I choose to read the comments and questions. :)  But don’t panic!  Read on, it’s actually far easier to address than you might think. 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...

Returning Multiple Result Sets from a Stored Procedure Using Entity Framework 6

I know, I know, you’re already rolling your eyes!  “Stored procedures??!?”  But hey, sometimes a stored procedure is the best solution to a problem!  Entity Framework allows you to call stored procedures quite easily out of the box, but working with sprocs that return multiple result sets isn’t so easy.  Here’s a handy extension method you can use to make it easier. More...