Use chained configuration

This commit is contained in:
John Luo 2017-09-05 12:54:00 -07:00
parent 5ca9f8928f
commit 8b30efbe75
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ namespace Microsoft.AspNetCore.Hosting
var builder = new ConfigurationBuilder()
.SetBasePath(_hostingEnvironment.ContentRootPath)
.AddInMemoryCollection(_config.AsEnumerable());
.AddConfiguration(_config);
foreach (var configureAppConfiguration in _configureAppConfigurationBuilderDelegates)
{