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"
}
}

Developer technologies | .NET | Blazor
{count} votes

Your answer

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