Knowledge base

Blog

Notes from our developers on .NET, Azure, AI, and the craft of shipping digital products. Published on knowledge-base.havit.eu.

Robert Haken

When the spec is a pull request – How application changes now start at Broker Trust

Broker Trust, a.s. deployed Claude Team with HAVIT. After targeted training, a new way of working took hold: instead of writing a specification and waiting, a product owner builds the simpler changes himself in Claude Code and submits them as pull requests.

Robert Haken

Slow .NET builds/tests? An installed preview SDK might be the culprit

If you have a .NET preview SDK installed on your machine (for example, the .NET 11 preview), the dotnet CLI may default to it — and in my case (apparently due to a bug in the preview), this caused builds and tests to run significantly slower than with the release SDK. It also shows up […]

Robert Haken

WASM: AggregateException_ctor_DefaultMessage (Could not resolve type with token …)

We ran into an interesting issue after installing .NET 9 SDK 9.0.204 (and 9.0.300 didn’t help either) with published Blazor WebAssembly front-ends. The app failed to load, and the browser console output showed this error: Our first suspicion was trimming, but to make a long story short, this turned out to be the classic issue […]

Robert Haken

[Blazor] await periodicTimer.WaitForNextTickAsync() – a good servant but a bad master

Beware of using await periodicTimer.WaitForNextTickAsync(). This method is appealing due to its asynchronous signature, making it easy to set up periodic tasks, which might tempt you to implement UI updates with it, especially in Blazor: Warning! While this approach doesn’t block the UI thread thanks to async-await, the issue is that the method calling such […]

Robert Haken

Go to file member (Visual Studio)

I’ve been struggling for a long time with how to quickly navigate to a member in a larger file when I already know its name. Resharper/Rider has a direct Go to file member shortcut with Alt + \. Visual Studio 2022 has a Go to member feature, but by default, it’s scoped to the entire […]

Robert Haken

SQL LocalDB: Upgrade to 2022 (15.0.2000)

For me it was quite confusing to find the 2022 version of LocalDB and it is not a streamline process to upgrade your local default instance. The easiest way to upgrade your LocalDB instance to 2022 is:

Robert Haken

gRPC code-first for Blazor WebAssembly front-end

gRPC is a phenomenon of our time. This modern and performance-efficient protocol is rapidly spreading, and today we will show how to use it for communication between the Blazor WebAssembly front-end and the ASP.NET Core backend (host): We will show the entire implementation on a simple example – we will use the default Blazor WebAssembly […]

Robert Haken

Blazor WASM: Unsupported connection to AAD using the standard auth-library (Microsoft.AspNetCore.Components.WebAssembly.Authentication)

If you (like me) were hoping to “easily” create a Blazor application that connects to a generic OIDC identity-provider using the Microsoft.AspNetCore.Components.WebAssembly.Authentication library, while also supporting connections to Azure Active Directory (AAD) this way, you’ll be disappointed. The idea is simple, AAD does support OIDC and therefore now why shouldn’t a generic OIDC client be […]

Robert Haken

A week with Lenovo ThinkPad Z16

After two weeks with the ThinkPad P16s and a week with the ThinkPad P1 Gen5, I got the chance to try the ThinkPad Z16 to my great joy. The Z series is brand new and the character (minimalist aluminum chassis, USB-C ports only, high-end components) is strikingly reminiscent of Apple or Dell XPS laptops. I’ll […]

Robert Haken

A week with Lenovo ThinkPad P1 Gen5

After more than two weeks with the Lenovo ThinkPad P16s AMD Gen1, I had the opportunity to try out the Lenovo ThinkPad P1 Gen5, specifically the pre-production configuration 21DDZA2PUS. The ThinkPad P1s are the workstation-version of the ThinkPad X1 Extreme, which is the bigger brother from the flagship X1 Carbon. Specialty machines aside, we’re moving […]

Robert Haken

Two weeks with Lenovo ThinkPad P16s (AMD)

I’m a long-time fan of ThinkPad laptops. It’s not a fanatical love, but rather a moderate satisfaction combined with conservatism and an unwillingness to risk change. It’s just that with ThinkPads I kind of know what I’m going to get, I’m set on it, and I’m fine with it. With ThinkPads, I started somewhere around […]

Robert Haken

Lenovo WWAN – Quectel EM120R-GL – No service

Just spent several hours fixing the “No service” cellular issue in my Lenovo T14 AMD Gen 2 with Quectel EM120R-GL. The notebook was able to search for networks (when disabled the automatic network selection), but was not able to connect to internet (Vodafone CZ mobile provider). It was more and more obvious that the issue […]

Browse all posts on knowledge-base.havit.eu →