Open pingu2k4 opened 1 month ago
I am seeing the exact same browser error for my Blazor WASM app. This worked fine until a few days ago. No code has been changed.
I agree with OP that it feels as if .NET 8.0.5 has broken something... not sure what though, these Blazor WASM JS source files are obfuscated.
Hey @Rauce - We've not managed to remedy this yet, but would be great to ask a few things...
Do you happen to be using DAB (Data Api Builder)? We have been trying to eliminate or determine this as a source of the issue this morning, but have been unsuccessful in finding anything conclusive. It went into GA recently, so in terms of timeline it would line up very well with our issues...
@pingu2k4 Nope, ours is a deployment of a simple Blazor WASM app to an Azure K8S container via GitHub Actions + Argo CD.
Looks like others are having the same issue: https://github.com/dotnet/aspnetcore/issues/55751
Ah cheers for the info. Lets us rule that out, and thanks for the link to the other issue - Super useful.
Describe the bug
Hey, We host our repo with Azure DevOps, and have a pipeline to publish our Blazor WASM application to SWA.
The pipeline has worked for us for a while, and we haven't made any changes to it. We last successfully deployed a week ago (on the 13th May). We attempted another deploy this morning, with purely just some text changes - nothing you would expect to break a build.
The pipeline runs successfully, and everything appears to be working, however our site does not deploy correctly. It hangs at the Blazor loading animation, with errors awaiting in the console.
We have of course tried to deploy the last known working version, prior to the text changes, but this produces the same result.
Having looked at the output from the devops pipeline runs, the only notable difference I am able to really see is that the "workload manifest" version numbers differ -
Installing workload manifest microsoft.net.workload......... version 8.0.4
- That is for the last successful run last week, whereas now it is using versions 8.0.5 for everything.It is worth noting that the blazor project has always, and still does run perfectly fine locally, on more than 1 machine. There appears to be an issue with the deployment, I just am at a loss as to what the cause is.
To Reproduce Not really sure
This is our devops pipeline step:
And our swa-cli config:
Expected behavior Identical behaviour with identical inputs to the run - It worked a week ago, now with the same commit it doesn't.
Additional context Just one more bit to add, and that is that static content appears to be working fine. As in, I can load our css files, our images etc by accessing them directly and they are fine. The initial HTML is correct also. But it appears that the deployment has done something with the WASM related files only.