Created
September 24, 2020 07:15
-
-
Save ssukhpinder/80eb3cfccc19320ae7fff5bfec82f4b1 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 | |
.AddIniFile("appsettings.ini", optional: true, reloadOnChange: true) | |
.AddIniFile($"appsettings.{env.EnvironmentName}.ini", true, true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment