Merge pull request #147 from aspnet/fixsamples

Fixing samples to use IApplicationBuilder and aspnet50, aspnetcore50
This commit is contained in:
kulmugdha 2014-09-19 10:57:55 -07:00
commit 9d505f5a24
4 changed files with 7 additions and 7 deletions

View File

@ -6,7 +6,7 @@ namespace HelloMvc
{
public class Startup
{
public void Configure(IBuilder app)
public void Configure(IApplicationBuilder app)
{
app.UseErrorPage();

View File

@ -10,8 +10,8 @@
"web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.urls http://localhost:5001",
"kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:5004"
},
"frameworks": {
"net45": {},
"k10": {}
"frameworks": {
"aspnet50": { },
"aspnetcore50": { }
}
}

View File

@ -4,7 +4,7 @@ namespace KWebStartup
{
public class Startup
{
public void Configure(IBuilder app)
public void Configure(IApplicationBuilder app)
{
app.UseStaticFiles();
app.UseWelcomePage();

View File

@ -11,7 +11,7 @@
"kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:5004"
},
"frameworks": {
"net45": {},
"k10": {}
"aspnet50": { },
"aspnetcore50": { }
}
}