Skip to content

Commit

Permalink
Adding hosting ini, kestrel reference, and removing cmdline args from…
Browse files Browse the repository at this point in the history
… project.json
  • Loading branch information
loudej committed Jul 3, 2014
1 parent 0922786 commit b0187d5
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 7 deletions.
1 change: 1 addition & 0 deletions 02.Builder/02.Builder.kproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
</PropertyGroup>
<ItemGroup>
<Content Include="go.cmd" />
<Content Include="Microsoft.AspNet.Hosting.ini" />
<Content Include="Project.json" />
</ItemGroup>
<ItemGroup>
Expand Down
3 changes: 3 additions & 0 deletions 02.Builder/Microsoft.AspNet.Hosting.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

Server = Microsoft.AspNet.Server.WebListener
Server.Urls = http://localhost:5000/
6 changes: 4 additions & 2 deletions 02.Builder/project.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"dependencies": {
"Kestrel": "1.0.0-*",
"Microsoft.AspNet.Server.WebListener": "1.0.0-*"
},
"commands":{
"web" : "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.urls http://localhost:5000/"
"commands": {
"run": "Microsoft.AspNet.Hosting",
"web": "Microsoft.AspNet.Hosting"
}
}
1 change: 1 addition & 0 deletions 03.Builder/03.Builder.kproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
</PropertyGroup>
<ItemGroup>
<Content Include="go.cmd" />
<Content Include="Microsoft.AspNet.Hosting.ini" />
<Content Include="Project.json" />
</ItemGroup>
<ItemGroup>
Expand Down
3 changes: 3 additions & 0 deletions 03.Builder/Microsoft.AspNet.Hosting.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

Server = Microsoft.AspNet.Server.WebListener
Server.Urls = http://localhost:5000/
6 changes: 4 additions & 2 deletions 03.Builder/project.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"dependencies": {
"Kestrel": "1.0.0-*",
"Microsoft.AspNet.Server.WebListener": "1.0.0-*",
"Microsoft.AspNet.RequestContainer": "1.0.0-*"
},
"commands":{
"web" : "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.urls http://localhost:5000/"
"commands": {
"run": "Microsoft.AspNet.Hosting",
"web": "Microsoft.AspNet.Hosting"
}
}
1 change: 1 addition & 0 deletions 04.Owin/04.Owin.kproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
</PropertyGroup>
<ItemGroup>
<Content Include="go.cmd" />
<Content Include="Microsoft.AspNet.Hosting.ini" />
<Content Include="Project.json" />
</ItemGroup>
<ItemGroup>
Expand Down
3 changes: 3 additions & 0 deletions 04.Owin/Microsoft.AspNet.Hosting.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

Server = Microsoft.AspNet.Server.WebListener
Server.Urls = http://localhost:5000/
6 changes: 4 additions & 2 deletions 04.Owin/project.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"dependencies": {
"Kestrel": "1.0.0-*",
"Microsoft.AspNet.Server.WebListener": "1.0.0-*",
"Microsoft.AspNet.Owin": "1.0.0-*"
},
"commands":{
"web" : "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.urls http://localhost:5000/"
"commands": {
"run": "Microsoft.AspNet.Hosting",
"web": "Microsoft.AspNet.Hosting"
}
}
1 change: 1 addition & 0 deletions 05.Owin/05.Owin.kproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
</PropertyGroup>
<ItemGroup>
<Content Include="go.cmd" />
<Content Include="Microsoft.AspNet.Hosting.ini" />
<Content Include="Project.json" />
</ItemGroup>
<ItemGroup>
Expand Down
3 changes: 3 additions & 0 deletions 05.Owin/Microsoft.AspNet.Hosting.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

Server = Microsoft.AspNet.Server.WebListener
Server.Urls = http://localhost:5000/
4 changes: 3 additions & 1 deletion 05.Owin/project.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"dependencies": {
"Kestrel": "1.0.0-*",
"Microsoft.AspNet.Server.WebListener": "1.0.0-*",
"Microsoft.AspNet.Owin": "1.0.0-*"
},
"commands":{
"web" : "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.urls http://localhost:5000/"
"run": "Microsoft.AspNet.Hosting",
"web" : "Microsoft.AspNet.Hosting"
}
}

0 comments on commit b0187d5

Please sign in to comment.