How can you determine, in your own Visual Studio extension, if a global Visual Studio setting is turned on or not? Read on to find out!
Extending Visual Studio CodeLens Functionality
If you have your own Visual Studio extension, and you want to add your own custom CodeLens entries – I’m here to help, because I just (finally!) figured out how to do this (plus a few extras!) First, let me start by saying that I’ve only “proven” this method with […]
Uploading Files with HttpClient in .NET 6
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 […]
Real-Time UI Updates with Postgres and SignalR
In one of my web applications at work, we provide a (Google) map and then set markers at various GPS coordinates. Those GPS coordinates are obtained through third-party vendor APIs on a schedule, and the results are stored in our database. Since the webpage that shows this map and markers […]
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 […]
Building .NET Framework Applications with GitHub Actions
In this post, I’m going to show you how I finally managed to configure a GitHub action to build my .NET Framework web application and then deploy it to Azure. It took way too long, so I hope this helps somebody else out there save some time. To get started, […]
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 […]