Skip to content

Instantly share code, notes, and snippets.



Last active Mar 3, 2017
What would you like to do?
public Startup(IHostingEnvironment env)
_env = env;
var builder = new ConfigurationBuilder()
.AddJsonFile("appsettings.json", optional: true, reloadOnChange: true)
.AddJsonFile($"appsettings.{env.EnvironmentName}.json", optional: true)
Configuration = builder.Build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.