Getting following error,
An error occurred while processing your request. Request ID: 0HLIETLEOHKHF:00000003
Development Mode Swapping to Development environment will display more detailed information about the error that occurred.
Development environment should not be enabled in deployed applications, as it can result in sensitive information from exceptions being displayed to end users. For local debugging, development environment can be enabled by setting the ASPNETCORE_ENVIRONMENT environment variable to Development, and restarting the application.
I have code something asp.net core mvc crud actions and it runs with iss properly but when i publish it with azure; the homecontroller(default visual studio thing) is ok. But my newly controller errors like that.
ASPNETCORE_ENVIRONMENT
still works as it did. If it's not set, it defaults toProduction
, so you can just add it to your environment variables with a value ofDevelopment
. Better still, if you have logs, take a look at those. – Kirk Larkin