Add authentication to an Azure Static Web App’s API
At my current client we are writing a Blazor WASM app which is deployed as a Static Web App. The backend is an Azure Function which is deployed as a “Bring your own” function, however I think this...
View ArticleHttpTrigger Azure Functions timeout
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...
View ArticleA nicer free Blazor WASM Data grid, toast, and confirm
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...
View ArticleLogging to Application Insights with ILogger in Azure functions on .NET 8
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....
View Article“When a Teams webhook request is received” not working from C# HttpClient
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...
View ArticleRemove a secret from your local git commit history
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...
View ArticleAzure DevOps Advanced Security not detecting vulnerabilities – 0 components...
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...
View ArticlePSA: Bicep templates run in parallel
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...
View ArticleCustomize Blazor WASM sidebar per environment
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...
View Article