Category: DevTips
Sharing my best software development tips and tricks. From quick tips to actual guides and solutions.
Sharing my best software development tips and tricks. From quick tips to actual guides and solutions.
This article explains how to fix an annoying issue when trying to debug a Blazor WASM (WebAssembly) project. In my case, I had a Blazor WASM SWA (Static Web App), that built just fine and ran well in Azure, but refused to be debugged. What an annoying little problem. I…Continue reading “Failed to launch debug server process due to: TypeError: Cannot read properties of undefined….” when trying to debug Blazor WebAssembly
Even if you have a 100% TypeScript project, it’ll still end up with a lot of .js (JavaScript) or .jsx (JavaScript with React extension) files. Unless you properly ignore them, they’ll end up cluttering your Visual Studio solution, and even git. As these are, in that case, generated files and…Continue reading How to clean up redundant .js, .jsx and .d.ts files from your repository?
This article explains a quick fix to an error along the lines of “AndroidSignPackage” task was not given a value for the required parameter “KeyPass”. In my case the issue occurred in a GitHub Actions pipeline, but you could get it in Azure DevOps or even when running the build…Continue reading How to fix “MSB4044: The AndroidSignPackage task was not given a value for the required parameter KeyPass
Unlike most of my articles, this one isn’t a description of an issue I had and the workaround or fix that I found. This time, I’m writing about something I found fun and pretty impressive – a fully functional continuous integration and deployment pipeline from a git repository all the…Continue reading How to build a functional CI/CD pipeline for a MAUI app on GitHub in less than 1 hour?
… or “How to bang your head on a wall for hours on end when developing a MAUI application?” 😂 This article explains how to fix a surprising error you might get when trying to run a MAUI app in Windows. For me, it was thrown when I was simply…Continue reading How to solve “System.TypeInitializationException: ‘The type initializer for ‘WinRT.ActivationFactory`1’ threw an exception.’” in the MAUI application?
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
This article explains one possible reason why you might run into an error like “Variable reference is not valid. ‘:’ was not followed by a valid variable name character. Consider using ${} to delimit the name” when using a PowerShell task in an Azure DevOps pipeline. But hey – at…Continue reading How to fix Azure DevOps “Variable reference is not valid. ‘:’ was not followed by a valid variable name character. Consider using ${} to delimit the name”
This article explains one possible fix to an annoyingly generic exception thrown by the Microsoft Graph API (namely, “Unsupported or invalid query filter clause specified for property”) or an even more generic exception thrown by PnP PowerShell (“Exception of type ‘PnP.PowerShell.Commands.Model.Graph.GraphException’ was thrown.”) when you’re trying to query Graph API…Continue reading One way to fix “Unsupported or invalid query filter clause specified for property” for your Microsoft Graph API queries
This article explains a solution to a rather annoying issue, where certificate validation for builds trying to fetch NuGet packages published by Microsoft fails when using .NET 5. This happens at least with Docker build when you’re relying on some Microsoft-provided images… But probably also in a lot of other…Continue reading How to fix NU3028 and NU3037 errors in Azure DevOps builds?
Okay, that’s a title and a half. But let’s see – what are we actually doing and why? In my particular case, I had to store a Dictionary<string, string> in a Postgres database. By default, that’s not something Entity Framework handles. But as usual, there’s a way around that –…Continue reading How to store a complex object as JSON in a PostgreSQL database using Entity Framework (Npgsql)?