9 Answer(s)
-
0
Hi @timmackey,
AspNet Zero uses current environment name to determine the correct appsettings.json file. So, if you set
ASPNETCORE_ENVIRONMENT
in your Azure account, AspNet Zero will use appsettings.ASPNETCORE_ENVIRONMENT.json file. -
0
Starting with version 8.7.0 it appears. I'm at 8.1.0.
-
0
Hi @timmackey I could not reproduce the problem. Can you please try to reproduce it in clean project.
-
0
project files emailed to [email protected]
-
0
Hi @timmackey
How can we reproduce this problem ? What should we look for ?
Thanks,
-
0
- Publish .Web.Host app
- notice 'appsettings.Development.json' file has been transferred to server.
- go to the domain login page. CORS errors occur.
- delete 'appsettings.Development.json' file on server.
- go to domain login page. No CORS error. Page displays normally.
Despite server environment being set correctly, the 'appsettings.Development.json' is not ignored.
-
0
Hi @timmackey
Thanks, we got the project this time and will check it.
Thanks,
-
0
Wondering if any progress has been made in determining a solution?
-
0
ANZ Team:
It's been almost 3 weeks since I sent my project to you, as requested. Wondering what the ETA is for a solution?