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?
2 Answer(s)
-
0
If ASPNETCORE_ENVIRONMENT isn't set, it defaults to Production.
When you debug the application locally, set
ASPNETCORE_ENVIRONMENT
toProduction
. If the application is all right, I believe it is a problem with the Azure environment. -
0
This issue is closed because it has not had recent activity for a long time.