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 explains another simple fix to an annoying issue. I guess that’s how I start like every other one of my little tutorials, but hey, it’s true! I suppose I just have a knack for running into issues that come with poorly documented fixes or workarounds that are obvious, but only in hindsight… Right? Anyway, this time my websocket requests were not being handled as such by my ASP.NET Controllers. “IsWebSocketRequest” was suggested by IntelliSense, but it would always be null in the code.…Continue reading HttpContext.WebSockets.IsWebSocketRequest always null in .NET Core?
Once again, I come to you with a surprisingly opaque problem, and offer to share my bemusingly simple solution. That should be a dedicated series on my blog – although on second thought, perhaps lobbing 90% of my articles under one tag wouldn’t be helpful… 😁 Problem When running docker-compose up the command would fail, and instead output a disgustingly long set of what looks like a whole pile of pythons engaging in quantum entanglement would angrily hiss at you, if bothered. It’s not pretty.…Continue reading Docker-compose fails on Windows with “Error while fetching server API version: (2, ‘CreateFile’, ‘The system cannot find the file specified.’)”
This article explains a quick solution to a pretty common problem with Azure DevOps. Namely – random and annoying 404 (or sometimes 401) errors when trying to access your dear team projects. I forgot to take screenshots of the errors and couldn’t figure out how to reproduce it, but hey, the fix is the main point, right? 😀 If you’ve ended up on this page, you’ve probably encountered the issue already, so why would you care about the screenshots anyway. Solution Ok, so this is…Continue reading Azure DevOps suddenly 404s for your project? Easy fix!
So, once again, I find myself wasting time trying to fix WordPress. While a powerful platform, it’s an neverending source of grief when trying to maintain a site with a non-trivial number of plugins. Working with a static web site creator would be much more fun, and there’s a good chance the site would stay up far more, but it would take a lot of effort to set up Hugo or Gatsby – but we’ll see. We’ll see. Anyway, this time I had 2 issues…Continue reading How to fix “Cannot read property ‘map’ of undefined (structured-data-blocks)”
This article aims to patch one annoying gap in Microsoft’s documentation: how, exactly, do you update Azure Function App’s application settings using an Azure DevOps build/release pipeline? It sounds easy, and like something that should happen almost automatically – and for Azure Web Apps (or App Services, as they are often called) it IS practically automatic. But for Azure Functions it isn’t. And the docs aren’t perfect. Let me try and fix that. Problem Azure Functions won’t take your appsettings.json file, “mapping” your variable groups…Continue reading How to update application settings of an Azure Functions App in Azure DevOps Pipeline?
This article documents one of the simplest solutions to one of the simplest issues you might ever encounter with Azure DevOps. Still: it’s a pretty annoying one, and the solution – as simple as it is – seems worth documenting for the next time I’m googling this fervently as I’m afraid of losing my unsaved changes again… :) Essentially, your editor view in Azure DevOps times out and you risk losing any changes you’ve done, and it’s all due to clumsy authentication implementation by Microsoft.…Continue reading Azure DevOps throwing “Unexpected token < in JSON at position 4"?
This article will document a super simple solution to an infuriating and stupid issue you might run into in Microsoft Office Word. Or maybe you might not, but I did. Can you tell I’m just sharing my own pains and whatever I needed to google and didn’t find a solution for? Yeah, another one of these. But hey – maybe this’ll be useful to someone else, too! Problem Long story short – copy-pasting this: Becomes this: WHAT – that’s no table. That’s just weirdly spaced…Continue reading How to copy a table in Microsoft Word (Office app)?
Every now and then, you run into a situation where you need to overwrite a database’s contents with those of another database. Maybe you’ll need to update a staging environment with partial data import from production, or perhaps you have a new developer coming in and they need some data – I don’t know. But this should be a run-of-the-mill action. Something you can do in a minute. The bottom line is – this shouldn’t be complicated. And it should be documented really well. And…Continue reading How to (easily) move data between SQL databases?
This article explains a quick and dirty fix when you get an error somewhat like “UsageConfigurationNotSupportedInSubscription” when you’re deploying an Azure Logic app from a template. The same fix will probably apply to a number of other issues – but don’t hold me accountable for this :) Anyway – on to the topic of the day! Problem Can you tell by some of my recent blog posts that I’ve been deploying a few Logic Apps recently? :) Today, my Azure Logic App deployment from a…Continue reading How to fix a Logic App deployment that failed with error “UsageConfigurationNotSupportedInSubscription”?
This article describes a solution to an ages old question of mine: how can I add an Azure Active Directory group – like a security group – to multiple resource groups at once? I’ve had to do this multiple times, and manual work takes quite a while. And who likes multiple manual steps? To be fair, this article could also be called something like: “Using Azure CLI to spend a lot of time to unnecessarily complicate a mind-numbingly boring task of adding one Azure AD…Continue reading Using Azure CLI to assign an AD group to multiple resource groups at once
So, you’re running a PowerShell command that requires a connection to PowerShell gallery, but you run into an error message, somewhat like this: “Unable to find repository ‘https://www.powershellgallery.com/api/v2’. This can happen when you’re running something like Install-Module or Update-Module. This pretty much blocks you from doing anything that would require the use of new modules – so, quite a lot. Worth fixing, then. 😁 Problem The whole error message might be somewhat like this: What gives? Posts Related to “Solving “Unable to find repository ‘https://www.powershellgallery.com/api/v2’.””:How…Continue reading Solving “Unable to find repository ‘https://www.powershellgallery.com/api/v2’.”
This article explains how you can export a Microsoft Power Automate Flow from, well, Microsoft Power Automate, and nicely and easily import it to Azure Logic Apps. I’ll explain the process step-by-step, and also explain solutions to a few hurdles you might run into! But first, let’s take a look at why you might want to consider taking this step in the first place, shall we? Why move to Logic Apps? Ah, a valid question. There are plenty of possible reasons why you might want…Continue reading How to move your Microsoft PowerAutomate Flow to Logic Apps?
Okay, this might be my least general and overall most pointless article ever, but I felt I needed to document it anyway. Maybe it’ll help someone with a similar gadget, despite being a bit off-topic on this blog. Apologies to any regular visitors! So, what am I talking about, then? Recently I bought a radio-controlled projector clock as a gift to my wife. I reasoned that such a device would never require any fiddling with (due to its automatic nature), and hence be the one…Continue reading Resolving an incredibly pointless struggle with RCC
This article explains a kind of weird fix to a pretty annoying issue with a legacy service. And I’m not just calling it legacy because it’s WCF – I’m calling it legacy, because it’s old. The particular piece of software was developed about 7 years ago (2014-ish)! It had worked for quite a while – but now it was down. I know, I know – 2014 is not THAT old. There’s surely COBOL that’s been running since 70s, if not before. But in the cloud,…Continue reading How to force an outdated .NET project to use TLS 1.2?
This article explains a quick and dirty fix when you get an error somewhat like “ApiNotFound” when you’re deploying an Azure Logic app from a template. This seems to be a very typical hurdle to run into when you’re trying to deploy a PowerAutomate Flow you’ve exported. I guess despite being built on the same platform, Flow developers took some liberties and the migration is not quite as painless as one would hope… :) Anyway – on to the topic of the day! Problem This…Continue reading How to fix a Logic App deployment that failed with error “ApiNotFound”?
Okay. So I needed to figure out what locales certain machine supported, and what kind of DateTime formats those would produce. Being the crafty coder I am, I set out to copy-paste some readymade code from docs.microsoft.com. As a side note, after Microsoft opened the docs out to community contributions, I have had far less need to browse StackOverflow for my carefully curated code snippets of questionable quality. I’m going to regard that as a minor victory on the path to friendlier developer communities. Preface…Continue reading Experiment: DateTime formats
This article explains one possible fix to “LinkedAuthorizationFailed” when you’re deploying a Logic App from a Azure Automation template. Maybe it’ll apply to other cases, too – but in my case, it helped me fix a broken template I had exported from Power Automate, and was bringing into Logic Apps. Problem So, another fun issue to solve! The actual error you run into might be something along these lines: The client has permission to perform action ‘Microsoft.Logic/integrationAccounts/join/action’ on scope ‘/subscriptions/[your subscription id here]/resourcegroups/[your app resource…Continue reading How to fix “LinkedAuthorizationFailed” when deploying an Azure Logic App?
This article describes how to fix and tweak your pre-build directives in Visual Studio – just in case they refuse to properly work. Because yeah, apparently that sometimes just randomly happens. But fear not – there’s a stupid and ugly, but definitely thoughtful workaround available! Also, sorry for a confusing title. I’m taking suggestions for a more descriptive one – but this one was kind of difficult to word clearly. Anyway – on to the topic of the day! Problem So you’re either trying to…Continue reading How to fix a build configuration that’s not available as a build directive in Visual Studio?
Let’s go with a very simple “note-to-self” kind of a blog post today. Plenty of those to go around on this blog, and plenty more coming, I’m sure! This one is another case that should be really obvious, but isn’t, and should just work, but doeswn’t. Namely, when you have run a pipeline in Azure DevOps expecting it to publish a package in your internal NuGet feed so that all of your friends can use it. And Azure DevOps is great for just this, as…Continue reading How to access invisible packages in Azure DevOps artifact feed?