removed App_data per [Mvc] Remove App_Data from MvcSample.Web Startup (#1716)

This commit is contained in:
riande 2014-12-23 15:37:35 -08:00 committed by Ryan Nowak
parent a818240d8a
commit db96104985
2 changed files with 3 additions and 3 deletions

View File

@ -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) &&