js Static web assets in .net9 appera blank in the browser

William Mendoza 0 Reputation points
2024-12-22T15:37:39.5833333+00:00

I can navigate to my file from the browser but the file is blank. the reference in the obj folder is correct, and the file generated inside the .nuget folder is also correct and has all the methods, but when accesing the file from the browser it appears blank. If I try the compressed version .gz then I can see the file contents. Seems like a bug.

User's image

I tried different approaches:
User's image

User's image

User's image

User's image

User's image

Github code:
https://github.com/Krypto-IT/GoogleCaptchaClass/tree/UpgradeWithDem9.0

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,635 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.