Category: Tech
This category contains all of the non-rants. And some tech-related rants, I guess. It’s difficult to categorize your content, you know?
This category contains all of the non-rants. And some tech-related rants, I guess. It’s difficult to categorize your content, you know?
This article shows you how to set a window size for a MAUI app on Windows. This is super useful for debugging – in my case, I wanted to retain a fast development cycle with lightweight debugging to work on my code quickly, but still see everything in roughly the…Continue reading How to set Window size for your MAUI app in Windows?
Oof. What even is this title? Descriptive – sure, maybe – but also kinda long. Ah, okay. This article explains how to map complex data types to a SQL database when using Entity Framework. This time, I’m using Fluent API to do this. In my case, I just needed to…Continue reading How to fix “System.InvalidOperationException: The property ‘ItemBody.AdditionalData’ could not be mapped because it is of type ‘IDictionary’, which is not a supported primitive type or a valid entity type. Either explicitly map this property, or ignore it using the ‘[NotMapped]’ attribute or by using ‘EntityTypeBuilder.Ignore’ in ‘OnModelCreating’.” in .NET 7 and Entity Framework?
This article expands on my earlier article on automatically figuring out versioning in an Azure DevOps Pipeline. In the other article, you’d add Major and Minor versions as variables, and Patch (the last part of an x.y.z version scheme) would be incremented automatically. In this one, I’m describing how to…Continue reading Automatically get version number from project dependencies in Azure DevOps
This article explains how to fix “AADSTS90097: An error has occurred during admin consent processing.” (or like the error message is actually worded – “occurred”, which to me looks like a typo, but at least makes this easier to google. I mean – bing. Those are both verbs now until…Continue reading Solving “AADSTS90097: An error has occurred during admin consent processing.” issues in your app
This article explains how to fix your Blazor Hybrid MAUI application (built with Blazor Webassembly, using MAUI to build & publish for multiple different platforms like Windows, Android and iOS at once) not starting up, but throwing an unexpected error instead, an error message being somewhat along the lines of…Continue reading How to fix your MAUI Blazor app crashing on startup with “Failed to compare two elements in the array.” ?
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 describes some of my experiences with Airthings air quality sensors, especially when used with Home Assistant. I’m using a couple of sensors to keep an especially close eye on CO2, Radon and air pressure, in addition to temperature and humidity (which I already have plenty of Sonoff sensors…Continue reading How do Airthings sensors work with Home Assistant?
This article explains how to read and write files in a MAUI application. No, not AppPackageFiles, nobody likes those, but actual NORMAL files. Real files. Dynamic files. Files that can change. Runtime files. I don’t know what to call them. But I hope you get the idea. Someone needs to…Continue reading How to read and write files in a MAUI application?
This article offers a stupid workaround for a cryptic and seemingly unrecoverable problem that manifests itself after a Visual Studio / .NET update and causes the following error to be thrown: “There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier ‘browser-wasm’.” Sorry, no real solution here –…Continue reading How to fix “There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier…” after a Visual Studio update?