try-catch-FAIL

Failure is inevitable

NAVIGATION - SEARCH

SpecsFor and SpecsFor.Mvc Updated!

Thanks to some nice pull requests by Gheorghe Bulicanu, both SpecsFor and SpecsFor.Mvc have been updated! SpecsFor 5.0.1 fixes the annoying issue regarding incompatibility with NUnit 3.0. The SpecsFor now correctly restricts to versions less than 3.0 (which isn't currently supported.) SpecsFor.Mvc 4.8.0 includes updated Selenium WebDriver support, which will work with the latest versions of Chrome and IE. Both packages are available on NuGet now. Thanks again, Gheorghe, for the pull requests!

Turn an Array into Proper-English with an AngularJS Filter

I needed a way to display a nicely-readable list of strings for an app I'm working on. And by that, I mean that I wanted to display, "Mary, John, and Mark" instead of "Mary, John, Mark". A simple ngRepeat would have been too complex for this, so, filters to the rescue! More...

CodeStock 2017 Voting is Open!

It's that time of year again. Another CodeStock is right around the corner, and that means it's time to vote for sessions! More...

What Time is It (in the cloud with .NET and Azure)?

Seriously, I just need to know what time it is! But that's a harder question to answer these days. *At least* half the apps I work on require some form of "Tell me what's happened **today**" reporting. And **today** depends on where the user is. And **today** where the user is doesn't match **today** where the app is running in Azure, which uses UTC. [More]

Heroic.AutoMapper 3.0 (Almost) Released

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

More...

A Reusable, Simple Gulp File

It’s been over a year since my last semi-rant about gulp.  I’ve continued to use gulp as my client-side build tool on countless projects.  I’ve learned a ton.  I finally feel like I’m ready to create a reusable, all-purpose gulp file.  Here’s what I have so far More...

A Simple Trick to View Data in SQL Server While Your Specs Are Running

It’s ridiculously easy to do integration testing against Entity Framework and a real database when you are using SpecsFor.   I use SpecsFor to do all my integration testing.   But it occurred to me that I’ve never publicly documented one of the common tricks I use: viewing data in the test database while the specs are running. More...

Why You Should Diversify Your Digital Life

One week ago today, I received a terrifying E-mail: my Google Account was being suspended.  More...

Intro to AngularJS for ASP.NET Developers–Tomorrow night @ Nashville .NET!

I’ll be presenting at the Nashville .NET User Group tomorrow night.  It looks to be almost full already (thanks, NashDotNet peeps!), so if you’re interested, please RSVP immediately! So, you're an ASP.NET developer.  You're comfortable with the in's and out's of building MVC and Web API apps.  But you keep hearing about this AngularJS thing.  Yes, it's JavaScript, but people still seem to like it anyway!  You want to get started, but aren't sure how.  That's ok, because I've got you covered!  In this intro and overview, I'll show you how to use AngularJS an... [More]

SpecsFor 5.0 Released!

The new version of SpecsFor should now be live on NuGet.  This version uses the latest version of StructureMap and Moq and fixes a couple of other issues.  SpecsFor also gained a new partial matching method a while back, I just haven’t had time blog about it.  Read on to find out how to use it. More...