Azure IoT Hub IoT Edge pipeline

Fixing “Encountered error while fetching the list of EventHub PartitionIds.” with an IoTHub trigger in Azure Functions

This article explains how to (possibly) fix an error along the lines of “Encountered error while fetching the list of EventHub PartitionIds” which is thrown by your Azure Function (or other code) trying to trigger based on IoT Hub or Event Hub messages. Problem When trying to debug or run…Continue reading Fixing “Encountered error while fetching the list of EventHub PartitionIds.” with an IoTHub trigger in Azure Functions

An accurate depiction of a NuGet package factory

Azure DevOps Pipelines Caching

Azure DevOps pipelines have a pretty handy feature called Pipeline Caching. It’ll help you avoid annoyingly long NuGet package restores in your builds. And that makes sense – why would you restore packages again and again and again, if you’re not updating your dependencies meanwhile? And especially in the case…Continue reading Azure DevOps Pipelines Caching

What in tarnation (and tarnation accessories)

Fixing unexpected Microsoft.AspNetCore package errors after a dependency update

This was a fun one! Suddenly, while running or debugging my ASP.NET Core 3.1 application, I started getting errors about missing assemblies, along the lines of “FileNotFoundException: Could not load file or assembly Microsoft.AspNetCore.Components.Forms”. These DLL files were not required a minute earlier – nor did requiring them really make…Continue reading Fixing unexpected Microsoft.AspNetCore package errors after a dependency update

An accurate depiction of a NuGet package factory

How to solve ‘DbContextOptionsBuilder’ does not contain a definition for ‘UseSqlServer’ error in .NET Core?

This is another, kind of a classic and simple solution to a fairly simple problem: How to fix it, when your DbContextOptionsBuilder fails to take in your connection string and complains about UseSqlServer missing or whatever? Okay – let’s take a step back. How did we end up here? So,…Continue reading How to solve ‘DbContextOptionsBuilder’ does not contain a definition for ‘UseSqlServer’ error in .NET Core?