Sample config cleanup.

This commit is contained in:
Chris R 2016-05-27 15:04:05 -07:00
parent 871885259b
commit 00990448bf
7 changed files with 4 additions and 13 deletions

View File

@ -8,11 +8,8 @@ namespace CookieSample
{
public static void Main(string[] args)
{
var config = new ConfigurationBuilder().AddEnvironmentVariables("ASPNETCORE_").Build();
var host = new WebHostBuilder()
.UseKestrel()
.UseConfiguration(config)
.UseContentRoot(Directory.GetCurrentDirectory())
.UseIISIntegration()
.UseStartup<Startup>()

View File

@ -21,7 +21,7 @@
"launchUrl": "http://localhost:12345",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"ASPNETCORE_SERVER.URLS": "http://localhost:12345"
"ASPNETCORE_URLS": "http://localhost:12345"
}
}
}

View File

@ -8,11 +8,8 @@ namespace CookieSessionSample
{
public static void Main(string[] args)
{
var config = new ConfigurationBuilder().AddEnvironmentVariables("ASPNETCORE_").Build();
var host = new WebHostBuilder()
.UseKestrel()
.UseConfiguration(config)
.UseContentRoot(Directory.GetCurrentDirectory())
.UseIISIntegration()
.UseStartup<Startup>()

View File

@ -21,7 +21,7 @@
"launchUrl": "http://localhost:12345",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"ASPNETCORE_SERVER.URLS": "http://localhost:12345"
"ASPNETCORE_URLS": "http://localhost:12345"
}
}
}

View File

@ -8,11 +8,8 @@ namespace JwtBearerSample
{
public static void Main(string[] args)
{
var config = new ConfigurationBuilder().AddEnvironmentVariables("ASPNETCORE_").Build();
var host = new WebHostBuilder()
.UseKestrel()
.UseConfiguration(config)
.UseContentRoot(Directory.GetCurrentDirectory())
.UseIISIntegration()
.UseStartup<Startup>()

View File

@ -21,7 +21,7 @@
"launchUrl": "http://localhost:42023",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"ASPNETCORE_SERVER.URLS": "http://localhost:42023"
"ASPNETCORE_URLS": "http://localhost:42023"
}
}
}

View File

@ -22,7 +22,7 @@
"launchUrl": "https://localhost:44318/",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"ASPNETCORE_SERVER.URLS": "https://localhost:44318/"
"ASPNETCORE_URLS": "https://localhost:44318/"
}
}
}