try-catch-FAIL

Failure is inevitable

NAVIGATION - SEARCH

Adding Entity Framework Code-First Type Configs from a Namespace

A recent project I worked on needed to connect to two different SQL databases using Entity Framework (version 6, not that new EF Core hotness). Out of the box, EF can only bulk-load code-based mappings from an entire assembly, not from a single namespace within an assembly. That didn't work on this project since all of the entities lived in a single assembly. Here's an extension method I wrote to work around this problem. Brace yourself: thar' be reflection here!! More...

Simulate Slow Web API Requests Using an Action Filter in ASP.NET Web API

How much time do you spend on your SPA application's "loading" screens? What about their "failed to [More]

Dealing with Horrid, No-Good, Very-Bad APIs Using JSON.NET

I already mentioned how I'm working on a big data integration project. Sadly, one of the systems in [More]

Working with Large JSON Blobs Sanely Using SQL Server

Have you ever wished that you could query a large JSON document? I wished that very thing recently [More]

A More Elegant Zombie Horde Using Array.from

In my last post, we used ES2015 generators to make a never-ending stream of zombies. A stream is gr [More]

Making a Zombie Horde in JavaScript Using ES6 Generators

Zombies are fun. ES2015 is fun. You know what's even more fun? ES2015 and zombies together! In this post, I'll show you how I used ES2015 generators to make an infinite zombie horde. More...

Practical Promises in JavaScript - Using async-await

Welcome to the final entry of my Practical Promises series! Today, we're going to learn about the new async and await keywords that are coming as part of ES2017. [More]

Practical Promises in JavaScript - Finally

Welcome to yet another entry in my Practical Promises series! We're nearing the end, but I overlooked one important, and useful, capability of several promise libraries, which is what we'll talk about today! More...

Slides and Code From CodeStock 2017

CodeStock 2017 was awesome! I learned new things, met new people, and had a fantastic time. I'm already looking forward to next year! It's a bit late, but here's the content from my talks. Building Mobile Apps with Visual Studio Tools for Apache Cordova Your web development skills can be used to build more than web apps. You can leverage the skills and tools you are already familiar with to build mobile applications with Visual Studio Tools for Apache Cordova. In this talk, you will learn how to take your existing knowledge of HTML, CSS, and JavaScript, and create mobile applications witho... [More]

Practical Promises in JavaScript - Order Matters

Welcome to another entry in my Practical Promises series! I know I said the next post would be the [More]