diff --git a/samples/HelloMvc/Startup.cs b/samples/HelloMvc/Startup.cs index cbe4bc4f59ca..eb17e8a18c8e 100644 --- a/samples/HelloMvc/Startup.cs +++ b/samples/HelloMvc/Startup.cs @@ -6,7 +6,7 @@ namespace HelloMvc { public class Startup { - public void Configure(IBuilder app) + public void Configure(IApplicationBuilder app) { app.UseErrorPage(); diff --git a/samples/HelloMvc/project.json b/samples/HelloMvc/project.json index 00597d5fa156..36082d31f816 100644 --- a/samples/HelloMvc/project.json +++ b/samples/HelloMvc/project.json @@ -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": { } } } \ No newline at end of file diff --git a/samples/HelloWeb/Startup.cs b/samples/HelloWeb/Startup.cs index 96e399e2efa5..b41f459f03d7 100644 --- a/samples/HelloWeb/Startup.cs +++ b/samples/HelloWeb/Startup.cs @@ -4,7 +4,7 @@ namespace KWebStartup { public class Startup { - public void Configure(IBuilder app) + public void Configure(IApplicationBuilder app) { app.UseStaticFiles(); app.UseWelcomePage(); diff --git a/samples/HelloWeb/project.json b/samples/HelloWeb/project.json index a35e119f0ad7..583d9546b57a 100644 --- a/samples/HelloWeb/project.json +++ b/samples/HelloWeb/project.json @@ -11,7 +11,7 @@ "kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:5004" }, "frameworks": { - "net45": {}, - "k10": {} + "aspnet50": { }, + "aspnetcore50": { } } } \ No newline at end of file