This was a headscratcher which neither AI or Google knew about or could fix for me. At work we have a large monolith with a combination of net48, netstandard and net8 projects. I m upgrading the net8 ones to net10, as net8 is nearing its EOL. When I upgraded the first of our test projects to Continue reading VSTest@3 fails with FileNotFoundException: Could not load file or assembly…
A client of mine has the following configuration for many of their apps Azure API Management (Consumption plan) in front of an Azure Service Bus Topic and An Azure Function to process messages from the topic, with Azure Application Insights for monitoring everything and A static metric alert rule against the Application Insights instance, for Continue reading Remove false-positive health check…
Our client wanted to have a slightly different color scheme for our internal application for each environment, i.e. dev, test and production. I implemented this by injecting an IConfiguration which I wrote about in 2024. The component we need to change is in MainLayout.razor, the div with class= sidebar . I m not sure how to change the Continue reading Customize Blazor WASM sidebar per environment
I had a problem recently where my Bicep templates were failing with an obscure error message: The incoming request is not recognized as a namespace policy put request. The Bicep in question was attempting to assign an Azure Service Bus topic subscription s forwardTo to another queue. I had ordered everything in the Bicep file correctly, Continue reading PSA: Bicep templates run in parallel
Today at a client I noticed that when I built a solution in Visual Studio, I would get Warnings about security vulnerabilities in third party NuGet packages: We had previously setup Azure DevOp s Advanced Security in our Build pipelines a while ago, so we should have already been alerted to this vulnerability, by the AdvancedSecurity-Dependency-Scanning@1 Continue reading Azure DevOps Advanced…
I was recently trying to push some code to Azure DevOps, but I was getting an error: $ git push Enumerating objects: 117, done. Counting objects: 100% (107/107), done. Delta compression using up to 12 threads Compressing objects: 100% (66/66), done. Writing objects: 100% (69/69), 10.28 KiB 1.28 MiB/s, done. Total 69 (delta 42), Continue reading Remove a secret from your local git commit history
I was recently trying to send a message from my application (an Azure Function) to a Teams channel. The current recommended way (by Microsoft) to do this is via a Teams Workflow , which is layer over top of Microsoft Power Automate, which is a layer over Logic apps. Here s my Teams Workflow: Here s the same Continue reading When a Teams webhook request is received not working from C# HttpClient
Today I couldn t figure out why any of my ILogger messages in my Azure Function weren t appearing in Application Insights. According to my research they should appear as Trace messages. I tried various Log Level tweaks to host.json to no avail. Fortunately one of my colleagues (hi Ivan!) had previously had the same issue, Continue reading Logging to Application Insights with ILogger in Azure…
A Blazor WASM .NET 8 proof-of-concept project I recently worked needed a data grid. MudBlazor, at the time, it didn t support .NET 8 WASM. (It might now, I m not sure). Blazorise looks good, but I didn t want the client to pay, because it s a POC. QuickGrid used this for the initial version. Easy Continue reading A nicer free Blazor WASM Data grid, toast, and confirm
Here s an annoying bug I had today. I have an Azure Function which contains both [ServiceBusTrigger] and [HttpTrigger] functions. My HttpTrigger were timing out while debugging locally, for some mysterious reason. It turned out the problem was that I had added a comment to my function s host.json. Unfortunately that breaks things completely. GitHub issue here.