Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var builder = new ConfigurationBuilder()
.SetBasePath(Package.Current.InstalledLocation.Path)
.AddJsonFile("appsettings.json", optional: false)
.AddJsonFile("appsettings.production.json", optional: true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment