diff --git a/samples/MvcSample.Web/Startup.cs b/samples/MvcSample.Web/Startup.cs index 96d203d451..20098d157a 100644 --- a/samples/MvcSample.Web/Startup.cs +++ b/samples/MvcSample.Web/Startup.cs @@ -25,10 +25,10 @@ namespace MvcSample.Web { app.UseFileServer(); #if ASPNET50 - // We use Path.Combine here so that it works on platforms other than Windows as well. + // Set up configuration sources. var configuration = new Configuration() - .AddJsonFile(Path.Combine("App_Data", "config.json")) - .AddEnvironmentVariables(); + .AddJsonFile("config.json") + .AddEnvironmentVariables(); string diSystem; if (configuration.TryGet("DependencyInjection", out diSystem) && diff --git a/samples/MvcSample.Web/App_Data/Config.json b/samples/MvcSample.Web/config.json similarity index 100% rename from samples/MvcSample.Web/App_Data/Config.json rename to samples/MvcSample.Web/config.json