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 class Startup
{ {
public void Configure(IBuilder app) public void Configure(IApplicationBuilder app)
{ {
app.UseErrorPage(); app.UseErrorPage();

View File

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

View File

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

View File

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