From 5f7ae9cad6eea0eda40a40f2161709c75188ab5b Mon Sep 17 00:00:00 2001 From: Chris Ross Date: Fri, 9 May 2014 11:58:22 -0700 Subject: [PATCH] Fix samples. --- samples/ErrorPageSample/Startup.cs | 2 +- samples/ErrorPageSample/project.json | 2 +- samples/WelcomePageSample/Startup.cs | 2 +- samples/WelcomePageSample/project.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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": {