The Problem I recently needed to figure out a way to send files to a third-party “document manager” system using HttpClient in .NET 6.0. This “document manager” system already had an API for uploading files, which we had previously gotten working in our teams Postman collection. Before we dive in, […]
What’s the Difference Anyway?! Class, Struct, Record, oh my!
This blog post is part of the 2021 C# Advent Calendar (the fifth year!). Please check out all of the other awesome posts in this year’s C# Advent. You keep hearing about the record type in C# these days, and keep thinking to yourself, “how are those different from just a regular […]
Git Tag Based Released Process Using GitHub Actions
In a previous post, I discussed how I was able to get a .NET Framework application built using GitHub actions. Go check out that post for the full YAML’y goodness. In this post, however, I want to explain how I modified that original GitHub Action to take advantage of git […]
Clean Coding in C# – Part I
One thing I’ve learned over the years is that being clever with your code is a waste of time and energy. The simpler, the better. Part of being “simpler”, to me, falls into the paradigm of “clean code”. But – what does “clean code” actually mean? In this post, we’ll […]
Docker Containers and my Adventures in Versioning and Tagging – Part II
Part II of II See Part I here In my previous post, I went through how we set up versioning for our assemblies during local development, and also during our Azure DevOps pipelines. In this post, I want to share how we did “tagging” – both to the repository, and […]
Docker Containers and my Adventures in Versioning and Tagging
Part I of II….. For a while, I’ve been running a little blind on answering the question, “is that fix in production?”. I could roughly gauge that it was or wasn’t by digging into the build and deployment logs, and backtracking into commit SHAs. Gotta be honest, it was painful […]
C# 8.0 – Switch Expressions
In C# 8.0, a new form of “switch” was introduced. While similar, you’ll find that this new “switch expression” is more concise than it’s “switch statement” counterpart as it does not require all the various keywords (case, break, default, etc.). Take this, albeit a contrived, example, starting with this enum […]
Xamarin.Forms – Debouncing an Entry Field
Curious what “debounce” means? Check out my previous entry to the Software Developers’ Dictionary to find out! I recently had a requirement to add a search field to my Xamarin.Forms / Prism application at work. This application has no local data, and for every search, hits an API endpoint that […]
Getting Started with Xamarin.Forms, Prism, and Unity
As soon as I received my Macbook at the new job, it was go time. I had done some research on Xamarin Forms, and decided I would bring in Prism (and utilize Unity for IOC / DI). I looked at a few different Mvvm projects – MvvmLight, FreshMvvm, Mvvm Cross, […]