In my solution, i Have 3 project types :
Shared (Class library for models)
Web (Asp.net core web for dbContext & api)
Client (Blazor wasm for UI)
My problem is when i run my projects (Blazor & web api) together, i'm facing an empty blank page! when i press f12 to review console errors, this error display :
The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature.
But when i run my webApi alone, it works!
Where is my problem & how to solve it?
I have vs 2019 (16.9.2) & .net 5.0