Created
September 24, 2020 07:14
-
-
Save ssukhpinder/6ff8c4fbd7547dcd43b32136ad2c8b65 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IHostEnvironment env = hostingContext.HostingEnvironment; | |
configuration | |
.AddJsonFile("appsettings.json", optional: true, reloadOnChange: true) | |
.AddJsonFile($"appsettings.{env.EnvironmentName}.json", true, true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🧡