Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Commit 0815681

Browse files
author
Suhas Joshi
committed
Added kestrel to run samples on Mono
1 parent ee16201 commit 0815681

File tree

3 files changed

+25
-13
lines changed

3 files changed

+25
-13
lines changed

samples/CookieSample/project.json

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
{
2-
"dependencies": {
3-
"Microsoft.AspNet.Security.Cookies": "1.0.0-*",
4-
"Microsoft.AspNet.Server.WebListener": "1.0.0-*"
5-
},
6-
"commands": { "web": "Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:12345" },
7-
"frameworks": {
8-
"aspnet50": {
2+
"dependencies": {
3+
"Microsoft.AspNet.Security.Cookies": "1.0.0-*",
4+
"Microsoft.AspNet.Server.WebListener": "1.0.0-*",
5+
"Kestrel": "1.0.0-*"
96
},
10-
"aspnetcore50": {
7+
"commands": {
8+
"web": "Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:12345",
9+
"kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:5004"
10+
},
11+
"frameworks": {
12+
"aspnet50": {
13+
},
14+
"aspnetcore50": {
15+
}
1116
}
12-
}
1317
}

samples/CookieSessionSample/project.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22
"dependencies": {
33
"Microsoft.AspNet.Security.Cookies": "1.0.0-*",
44
"Microsoft.AspNet.Server.WebListener": "1.0.0-*",
5-
"Microsoft.Framework.Cache.Memory": "1.0.0-*"
5+
"Microsoft.Framework.Cache.Memory": "1.0.0-*",
6+
"Kestrel": "1.0.0-*"
7+
},
8+
"commands": {
9+
"web": "Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:12345",
10+
"kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:5004"
611
},
7-
"commands": { "web": "Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:12345" },
812
"frameworks": {
913
"aspnet50": { },
1014
"aspnetcore50": { }

samples/SocialSample/project.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@
77
"Microsoft.AspNet.Security.MicrosoftAccount": "1.0.0-*",
88
"Microsoft.AspNet.Security.Twitter": "1.0.0-*",
99
"Microsoft.AspNet.Server.IIS": "1.0.0-*",
10-
"Microsoft.AspNet.Server.WebListener": "1.0.0-*"
10+
"Microsoft.AspNet.Server.WebListener": "1.0.0-*",
11+
"Kestrel": "1.0.0-*"
12+
},
13+
"commands": {
14+
"web": "Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:12345",
15+
"kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:5004"
1116
},
12-
"commands": { "web": "Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:12345" },
1317
"frameworks": {
1418
"aspnet50": {
1519
},

0 commit comments

Comments
 (0)