ASP.NET 5 is Dead; Long Live ASP.NET 5!


Perhaps you’e read the news last week from Scott Hanselman already, but if you haven’t, allow me to bring you up to speed. ASP.NET 5 is now know as ASP.NET Core 1.0. Note that this name change does not indicate that it has been released. That happy event is still expected in the next few months. To some, the change may seem like a meaningless marketing change, but I’m thrilled about it. I think the new name more clearly represents the important same-ness and important different-ness of this new version of ASP.NET. New, But Different I’ve been doing talks about this new version of ASP.NET, and I’ve found it difficult to explain. ASP.NET Core 1.0 is actually a new framework rewritten for
Continue reading...

Comparing Date Ranges For Overlap


I often find myself writing logic to compare two date ranges to see if they overlap. In fact, I’ve done this enough times that I thought it was worth capturing in a blog post to save myself the time of having to figure it out next time. Hopefully you, dear reader, will also find it useful. TL;DR If you don’t need to understand the reason why, no need to read on. Just use this logic:

  The Details There are two different conditions that could make for non-overlapping ranges: Condition 1: Range B ends before Range A starts, which we could write as: Condition 2: Range A ends before
Continue reading...