✅ Changing ASPNETCORE_ENVIRONMENT causes broken site.
Hi all,
I am wanting to test our ASP .NET CORE App coupled with Blazor Wasm in production.
So I changed
ASPNETCORE_ENVIRONMENT
to "Production", and altered Program.cs to work with it:
Now I only get a white page and it is showing 3 warnings:
How can I fix this?4 Replies
Stack Overflow
When ASPNETCORE_ENVIRONMENT changed to anything but "Development" -...
Maybe just try the example:
https://github.com/HTD/BlazorProfiles
This is a demo Blazor application (default).
I created 2 custom application profiles: Development and Production.
Both should be
That fixed it
Thanks
What did you google for?
Yay!
I don't remember. Something like "blazor empty page ASPNETCORE_ENVIRONMENT"
Thanks 😛