Skip to content

Commit 0ffb023

Browse files
committed
updated project.json and fix error in startup
1 parent 111d693 commit 0ffb023

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

NuGet.Config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<packageSources>
4-
<add key="AspNetVNext" value="https://www.myget.org/F/aspnetvnext/api/v2" />
4+
<add key="AspNetRelease" value="https://www.myget.org/F/aspnetrelease/api/v2" />
55
<add key="NuGet.org" value="https://nuget.org/api/v2/" />
66
</packageSources>
77
</configuration>

samples/ConsoleApp/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"System.Console": "4.0.0.0"
44
},
55
"frameworks": {
6-
"net45": {},
7-
"k10": {}
6+
"aspnet50": {},
7+
"aspnetcore50": {}
88
}
99
}

samples/HelloMvc/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace HelloMvc
66
{
77
public class Startup
88
{
9-
public void Configure(IBuilder app)
9+
public void Configure(IApplicationBuilder app)
1010
{
1111
app.UseErrorPage();
1212

samples/HelloMvc/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"Kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:5004"
1313
},
1414
"frameworks": {
15-
"net45": {},
16-
"k10": {}
15+
"aspnet50": {},
16+
"aspnetcore50": {}
1717
}
1818
}

samples/HelloWeb/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace KWebStartup
44
{
55
public class Startup
66
{
7-
public void Configure(IBuilder app)
7+
public void Configure(IApplicationBuilder app)
88
{
99
app.UseStaticFiles();
1010
app.UseWelcomePage();

samples/HelloWeb/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"Kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:5004"
1313
},
1414
"frameworks": {
15-
"net45": {},
16-
"k10": {}
15+
"aspnet50": {},
16+
"aspnetcore50": {}
1717
}
1818
}

0 commit comments

Comments
 (0)