© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
120 replies
Blizzie the Mare

Blazor WASM project has logic error involving data fetching

Hello there!
I'm developing a web app/educational game that is meant to teach migrant workers about labor related bureaucracy in a manner they themselves would encounter it in real life.
This basically is a full stack project and it seems I'm having considerable issues with getting the app to work, which is related to the api connectivity. The app connects to an API that works as an intermediary component between the web app and translation service, as well as a database of past queries since it's bit wasteful to re-translate same stuff to same languages every time. This API works as intended when it is tested with curl and Swagger.
The issue comes with the web app, which, when I try to feed it with the translation query, has an unexpected error. Basically, what happens is that the used thread for the async method is busy when the app tries to fire it, since, for some weird reason, it is processed twice, with the second runaround leading to the error and thusly instead of getting translated query, the app gives me an error and asks me to reload the page. As you can see from the image, apparently there's some sort of "Memory Out of Bounds" issue going on.
I have attached screenshot of the console printout, the .razor file and dev server printout to this message.
error.png
Index.razor2.84KB
dev_server_printout.txt3.44KB
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements
Next page

Similar Threads

Blazor Wasm Static Content Error
C#CC# / help
11mo ago
✅ Error when including a project reference in a Blazor WASM project
C#CC# / help
3y ago
✅ Blazor WASM Headers
C#CC# / help
4mo ago