ASPNETCORE_ENVIRONMENT

marcel. w 1 Reputation point
2021-07-13T08:24:22.997+00:00

Hello, a Blazor Server Project which runs on a Azure WebApp with KeyVault Secret. But there is an ASPNETCORE_ENVIRONMENT ERROR which says set the ASPNETCORE_ENVIRONMENT to Development, but it is already set to Development!

The error is just on the public Azure version, the loccalhost version works fine!
Any idee what to config.

launchSettings.json
"Proj_UserProfil_": {
"commandName": "Project",
"launchBrowser": true,
"applicationUrl": "https://localhost:5001;http://localhost:5000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}

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,374 questions
{count} votes