“Code Tips” or “Programming” (both aliases for this term in my site’s taxonomy) is my category for whatever posts I’m able to come up with, that handle programming, code quality and/or handy workarounds. Is code directly involved? Then the post should be filed under here!
This is meant to distinguish posts from different things, like configuration or user analytics -related posts. Even tips of fixing Azure DevOps pipelines go elsewhere, because that’s not programming.
This article explains how to easily add additional headers to the Graph API calls you make in PowerShell using Invoke-PnPGraphMethod commandlet. There’s a convenient sample for you to copy-paste and some basic explanations on what we’re doing below. Background Every now and then, I need to make some Graph API…Continue reading How to add AdditionalHeaders to Invoke-PnPGraphMethod?
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?
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 explains a curious workaround that I figured out. In case you need a way to force app setting changes to be reflected in some libraries you need in your application, even if they don’t support any configuration after application startup. Problem Normally, a .NET application loads the configuration…Continue reading How to replace and reload application settings changes in .NET?
This article explains a (fairly) simple solution on how you can grab role claims – or any other claims with some tweaking – and use them as the basis for targeting your WebSocket messages. Very nifty, if you ask me, without all the enterprisiness of SignalR. Talking about SignalR, another…Continue reading Using role claims to target WebSockets
This article will take a look at a neat authorization option for Blazor WebAssembly – utilizing group memberships when defining policies. This isn’t a tutorial or an overview of Blazor – rather, we start from you already having your Blazor WebAssembly project set up, and we’ll be taking a look…Continue reading Groups-based authorization in Blazor WebAssembly
I tend to post a lot of articles about different gotchas and configuration tweaks, but this one goes back to the roots a bit – just me and a couple of other devs hacking some code together and being blocked by a bit of an obstacle, that’s then fixed by…Continue reading How to access claims of a SignalR user in ASP.NET Core?