All Articles:

ASP.NET Core WebApi - Basic Authentication

Demonstrates adding basic authentication to an ASP.NET Core WebApi project.
6/25/2021

ASP.NET Core WebApi Json serialize as PascalCase

The default implementation of ASP.NET Core WebAPI serialization is camalCase. This creates a problem when trying to deserialize PascalCase based names. Here's the fix.
6/17/2021

String Compression

With incredibly fast processing speeds today, it's worth taking a small bit of processing time to compress & decompress large text. Obviously this can reduce storage space, but most importantly improves bandwidth. It's also rather easy to do.
6/2/2021

Null-Coalescing Assignment

Pretty simple: userRepository ??= new DefaultUserRepository();
5/27/2021

Xamarin: async calls to DisplayAlert

Calls to Xamarin's DisplayAlert are async. Calling await requires the calling function's signature to be async. Click event handlers are looking for non-async functions. Here's the work-around.
5/19/2021

C# 9 Favorites

C# 9 came out in 2020. Here are some of my favorite additions (and a few not-so-favorites).
4/20/2021

C# Functions - Returning multiple values with Tuple Literals

There are times when we need to return multiple values from a function. C#7 has a better way: Tuple types and Tuple literals
4/14/2021

.Net's new built-in Json serializer.

After using Newtonsoft.Json for years, now there's a built in replacement: System.Text.Json.
12/21/2020

Task.WaitAll vs Task.WhenAll

Task.WaitAll and Task.WhenAll are both very similar, and it can be confusing to know which to use. Here's some insight I've found.
9/11/2020

Stop using using for HttpClient....NO WAIT, USE USING

On a project for work, I setup the code for making all of our REST calls to our middle layer with HttpClients created with a using. Turns out that wasn't a good idea.
7/16/2020

Avoid "sync over async" via Task.Result or Task.Wait

When you have an async call you'd like to make within a sync-only function, it's tempting to use Task.Result or Task.Wait. However this can lead to performance issues like thread-starvation.
6/9/2020

At Home Development

Being the coding nerd I am, I seem to have plenty of personal coding projects I do at home
3/13/2020


  • C#/.NET/Core
  • T-SQL
  • HTML/Javascript/jQuery
  • ASP.NET/MVC
  • .NET Core
  • ADO.NET/EF
  • WPF
  • Xamarin/MAUI
  • Windows 10
  • SQL Server 20xx
  • Android
  • XBox One
  • Skiing
  • Rock Climbing
  • White water kayaking
  • Road Biking