Skip to content

Commit

Permalink
Merge pull request #147 from aspnet/fixsamples
Browse files Browse the repository at this point in the history
Fixing samples to use IApplicationBuilder and aspnet50, aspnetcore50
  • Loading branch information
kulmugdha committed Sep 19, 2014
2 parents 07424ca + de20821 commit 9d505f5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion samples/HelloMvc/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace HelloMvc
{
public class Startup
{
public void Configure(IBuilder app)
public void Configure(IApplicationBuilder app)
{
app.UseErrorPage();

Expand Down
6 changes: 3 additions & 3 deletions samples/HelloMvc/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": { }
}
}
2 changes: 1 addition & 1 deletion samples/HelloWeb/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace KWebStartup
{
public class Startup
{
public void Configure(IBuilder app)
public void Configure(IApplicationBuilder app)
{
app.UseStaticFiles();
app.UseWelcomePage();
Expand Down
4 changes: 2 additions & 2 deletions samples/HelloWeb/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:5004"
},
"frameworks": {
"net45": {},
"k10": {}
"aspnet50": { },
"aspnetcore50": { }
}
}

0 comments on commit 9d505f5

Please sign in to comment.