I have followed a tutorial on how to deploy you .net core application in Azure using Visual Studio IDE .
I have deployed my application successfully but the problem that there is an error that I do not understand .
Here is the error:
An error occurred while processing your request.
Request ID: 0HLM4N476JQOC:00000001
Development ModeSwapping 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
I have looked for a solution. One of them is to change some settings on web.config
, but I do not have a web.config
file in my project.
The other is saying to change the variable in jsonFile ASPNETCORE_ENVIRONMENT
from development to production.
It can be enabled by setting the ASPNETCORE_ENVIRONMENT
environment variable to Development
.
I have searched on the internet for a solution.
I have tried this but it doesn't work .
"this would be another question " : how to see my database tables after migrating to azure ?
Any help would be appreciated