-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Custom Model Binders in ASP.NET Core 6
2022-02-13
This past week I was integrating with a third party service that passes back boolean values in the query string as Yes/No. The built-in ASP.NET Core 6 model binding can handle true/false or 1/0, but not Yes/No. Let's look at how to make our own custom model binder for this simple use case and how to unit test it. Continue Reading -
-
-
-
Redirects in ASP.NET Core With Both HTML and JSON Endpoints
2021-08-27
This past week I ran into the problem of retrofitting an endpoint that returns JSON into an app that up until now has returned HTML from all endpoints. Luckily, ASP.NET Core makes it easy to customize the behavior. Continue Reading -
-
-
-
-
How I Focus: Forest
2020-08-07
I have worked remotely from home as consultant for over eight years now. Keeping focus during work is a constant struggle for me. I'm endlessly inventive in coming up with new ways to distract myself from doing work when I don't want to. One tool I use to combat this is Forest, a distraction blocking app for your phone. Continue Reading -
-
-
-
Mapping View Model Dependencies with MvvmCross and AutoMapper
2015-02-22
AutoMapper is one of those amazing tools that I wish I was better with. It's incredibly flexible, but I often throw in the towel and map things myself when it starts getting complicated. A recent pain point has been view models in a MvvmCross project. Continue Reading -
-
-
-
-
-
-
-
-
-
-