Fixing samples

This commit is contained in:
Mugdha Kulkarni 2014-09-18 15:37:36 -07:00
parent 07424caead
commit de208217a9
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": { }
}
}