I started getting the exact same error in my Blazor app a few days ago as well. It's driving me nuts. I'm using .net9