Choosing a front-end framework is no small task these days. There are a lot of options out there, each with pros and cons. When I decided I wanted to move to a “next gen” framework, I surprised myself by going with a framework that I initially had a lot of negative feelings about: Angular. In…
try-catch-FAIL
Author: <span>Matt Honeycutt</span>
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…
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 load” screens? These things are important in a normal SPA, but they’re even more important in a mobile app built with PhoneGap or Cordova. Yet these important UX issues are easily overlooked as we build our applications. With…
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 involved exposes what I would describe as a “less-than-ideal” API. It’s buggy, poorly-documented… I could go on, but probably shouldn’t. ? But the big thing that got me was the lack of consistency. Not just across endpoints, but…
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 while working with a 3rd party API. One particular API call was returning mountains of data, and I needed to get a list of distinct values of a particular property buried within the objects of this JSON…
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 great, but sometimes you need an array. My original approach for making an array of zombies wasn’t elegant, but comments on that post from Ege and Alan showed me a better way using another ES2015 feature. [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] Getting Started This sample should work fine in NodeJS 8+. Go grab it if you don’t have it already! Let’s make…
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] If you are just joining us, here is what you missed: In part 1, we talked about what promises are and what they can be…
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] For Those Just Tuning In… If you are just joining us, here is what you have missed so far: In part…
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…