Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support overriding appsettings.json with appsettings.{Environment}.json #695

Merged
merged 3 commits into from
Oct 14, 2022

Conversation

claudiamurialdo
Copy link
Collaborator

Support the native mechanism of aspnet core: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-6.0#default-application-configuration-sources

Do not call Preferences before Startup is created to avoid loading appsettings.json manually.
Issue:99298

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

…gin overriden when running in the same process.
@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit 06a0337
  • dotnet/DotNetStandardClasses.sln

@claudiamurialdo claudiamurialdo temporarily deployed to external-storage-tests October 7, 2022 11:12 Inactive
@genexusbot genexusbot added the conflict Conflict merging to beta branch label Oct 7, 2022
@genexusbot
Copy link
Collaborator

Manual cherry pick to beta success

@genexusbot genexusbot removed the conflict Conflict merging to beta branch label Oct 7, 2022
@claudiamurialdo claudiamurialdo changed the title Change Startup code to support overriding appsettings.json Support overriding appsettings.json with appsettings.{Environment}.json Oct 7, 2022
@claudiamurialdo claudiamurialdo merged commit 924f658 into master Oct 14, 2022
@claudiamurialdo claudiamurialdo deleted the appsettings-environments branch October 14, 2022 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants