0
[email protected] created
I have a stie deployed to Azure. It's been working fine for the past few months, but after this latest update appsettings.production.json seems to not be working. It seems to always drop back to just appsettings.json.
I have ASPNETCORE_ENVIRONMENT set to Production.
Any ideas?
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
2 Answer(s)
-
0
If ASPNETCORE_ENVIRONMENT isn't set, it defaults to Production.
When you debug the application locally, set
ASPNETCORE_ENVIRONMENTtoProduction. If the application is all right, I believe it is a problem with the Azure environment.Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
This issue is closed because it has not had recent activity for a long time.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)