This article explains how to get around a weird quirk in Azure Static Web Apps local development story. Well – one of the quirks anyway. A real showstopper issue I ran into. One, that isn’t even that serious – it’s just that the error message doesn’t help you at all.…Continue reading swa emulator throwing “✖ Could not connect to “http://localhost:7071″. Is the server up and running?”?
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
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.” ?
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
Let’s make this short and sweet. In this particular case, upgrading a Blazor WASM solution to .NET 6 broke the authentication when deployed to Azure. The same issue could probably happen to a fresh project, though. This is what you’re running into: If you open your browser console, you’ll see…Continue reading Fixing Blazor WebAssembly .NET 6 MSAL authorization bug
Yikes – ever ran into this error after deploying your ASP.NET Core web application to an Azure App Service? Yeah, me too. And when it’s a production deployment, and the error didn’t happen in test/QA environment, that’s even more fun. This article describes a couple of ways to fix it,…Continue reading How to fix “HTTP Error 500.32 – ANCM Failed to Load dll”
Welp – this was not a fun issue to run into! While nobody in this day and age should use Internet Explorer for any normal usage (occasional legacy scenarios aside), there are still some luddites who do (or whose IT department makes them to). This means it’s still useful, and…Continue reading IE11 fails to load a (server-side) Blazor web app
Just a quick piece of documentation, as this piece of code, has changed in different versions of .NET Core 3.0 so far a few times. Need to have things like this written down somewhere! UriHelper / NavigationManager with .NET Core 3.0 Both of these helper libraries do essentially the same…Continue reading How to use UriHelper or NavigationManager in .NET Core 3.0 & Blazor?
Welp – just ran into this one, and as I expect others to encounter the same issue, I’d better document it right away! So in Blazor, I was crafting a simple component that’d display some data in a nice way. Being lazy and crafty, I thought I’d copy-paste some similar…Continue reading ‘__generated__Index.OnInitAsync()’: no suitable method found to override