Update index.md (#9417)

pull/9428/head
Ahmed Yahia 2018-11-03 21:35:02 +02:00 committed by Luke Latham
parent 6cef8ab96e
commit 77366bfe79
1 changed files with 1 additions and 0 deletions

View File

@ -1145,6 +1145,7 @@ public class Program
.ConfigureAppConfiguration((hostingContext, config) =>
{
config.SetBasePath(Directory.GetCurrentDirectory());
var path = Path.Combine(Directory.GetCurrentDirectory(), "path/to/files");
config.AddKeyPerFile(directoryPath: path, optional: true);
})
.UseStartup<Startup>();