diff --git a/samples/ErrorPageSample/Startup.cs b/samples/ErrorPageSample/Startup.cs index 096cfbfed9..74ad9f4e25 100644 --- a/samples/ErrorPageSample/Startup.cs +++ b/samples/ErrorPageSample/Startup.cs @@ -5,7 +5,7 @@ namespace ErrorPageSample { public class Startup { - public void Configuration(IBuilder app) + public void Configure(IBuilder app) { app.UseErrorPage(); app.Run(context => diff --git a/samples/ErrorPageSample/project.json b/samples/ErrorPageSample/project.json index 36b7a15511..b66424e558 100644 --- a/samples/ErrorPageSample/project.json +++ b/samples/ErrorPageSample/project.json @@ -8,7 +8,7 @@ "Microsoft.AspNet.HttpFeature": "0.1-alpha-*", "Microsoft.AspNet.Server.WebListener": "0.1-alpha-*" }, - "commands": { "web": "Microsoft.AspNet.Hosting server.name=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:5001" }, + "commands": { "web": "Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:5001" }, "configurations": { "net45": {}, "k10": { diff --git a/samples/WelcomePageSample/Startup.cs b/samples/WelcomePageSample/Startup.cs index b5c2bcad83..bbe72013d6 100644 --- a/samples/WelcomePageSample/Startup.cs +++ b/samples/WelcomePageSample/Startup.cs @@ -5,7 +5,7 @@ namespace WelcomePageSample { public class Startup { - public void Configuration(IBuilder app) + public void Configure(IBuilder app) { app.UseWelcomePage(); } diff --git a/samples/WelcomePageSample/project.json b/samples/WelcomePageSample/project.json index 9fbdd54fd0..7cf52b9990 100644 --- a/samples/WelcomePageSample/project.json +++ b/samples/WelcomePageSample/project.json @@ -8,7 +8,7 @@ "Microsoft.AspNet.HttpFeature": "0.1-alpha-*", "Microsoft.AspNet.Server.WebListener": "0.1-alpha-*" }, - "commands": { "web": "Microsoft.AspNet.Hosting server.name=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:5001" }, + "commands": { "web": "Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:5001" }, "configurations": { "net45": { }, "k10": {