Merge pull request #147 from aspnet/fixsamples
Fixing samples to use IApplicationBuilder and aspnet50, aspnetcore50
This commit is contained in:
commit
9d505f5a24
|
|
@ -6,7 +6,7 @@ namespace HelloMvc
|
|||
{
|
||||
public class Startup
|
||||
{
|
||||
public void Configure(IBuilder app)
|
||||
public void Configure(IApplicationBuilder app)
|
||||
{
|
||||
app.UseErrorPage();
|
||||
|
||||
|
|
|
|||
|
|
@ -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": { }
|
||||
}
|
||||
}
|
||||
|
|
@ -4,7 +4,7 @@ namespace KWebStartup
|
|||
{
|
||||
public class Startup
|
||||
{
|
||||
public void Configure(IBuilder app)
|
||||
public void Configure(IApplicationBuilder app)
|
||||
{
|
||||
app.UseStaticFiles();
|
||||
app.UseWelcomePage();
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
"kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:5004"
|
||||
},
|
||||
"frameworks": {
|
||||
"net45": {},
|
||||
"k10": {}
|
||||
"aspnet50": { },
|
||||
"aspnetcore50": { }
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue