You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating home repo samples to use latest bits from dev branch feed
1. Updated samples to use Kestrel for cross plat
2. Updated "configurations" in project.json to "frameworks"
3. Updated readme to include instructions on Kestrel
Copy file name to clipboardExpand all lines: README.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ These are the current minimum requirements, they do not necesarilly represent ou
18
18
* .NET 4.5.1 for hosting in IIS
19
19
20
20
### OSX/Linux
21
-
* Mono >= 3.4.1 - Currently this means compiling Mono from source from https://github.com/mono/mono
21
+
* Mono >= 3.4.1 - Currently this means compiling Mono from source from https://github.com/mono/mono (Note: See instructions below to install the Homebrew formula that can install the required mono)
22
22
* On Linux, you may need to run `mozroots --import --sync` after installing mono
23
23
* bash or zsh and curl
24
24
@@ -31,6 +31,7 @@ The easiest way to get the KVM on Windows is to run the following command:
Mono and KVM (K Version manager) required to develop & run next generation ASP.NET applications on OSX is available as a Homebrew formula. To install the necessary development tools:
35
36
36
37
* Open a terminal on your MAC
@@ -107,11 +108,11 @@ The [Entropy repo](https://github.com/aspnet/Entropy) contains samples of specif
107
108
2. Change directory to Samples\HelloWeb
108
109
3. Run ```kpm restore```
109
110
4. You should see a bunch of output as all the dependencies of the app are downloaded from MyGet. The K commands all operate on the app that is in the current directory.
110
-
5. Run ```K web```
111
+
5. Run ```K web``` to run on WebListener. Or run ```K Kestrel``` to run on Mono.
111
112
6. You should see build output and a message to show the site is now started
112
-
7. Navigate to "http://localhost:5001"
113
+
7. Navigate to "http://localhost:5001" or "http://localhost:5004" in case of Mono
113
114
8. You should see the welcome page
114
-
9. Navigate to "http://localhost:5001/image.jpg"
115
+
9. Navigate to "http://localhost:5001/image.jpg" or "http://localhost:5004/image.img" in case of Mono.
115
116
10. You should see an image served with the static file middleware
116
117
117
118
If you can do all of the above then everything should be working. You can try out the WebFx sample now to see some more of the new stack. You should run ```kpm restore``` before using any sample for the first time.
@@ -122,7 +123,7 @@ If you can do all of the above then everything should be working. You can try ou
122
123
By default when running the applications you are running against Desktop CLR (4.5), you can change that using the KVM command.
123
124
124
125
1. Run ```kvm install 0.1-alpha-build-0446 -svrc50``` This command gets the latest Core CLR version of the k runtime and sets it as your default. The -svrc50 switch tells it to use Core CLR, you can use -svr50 to target desktop again.
125
-
2. Run ```K web```
126
+
2. Run ```K web``` to run on WebListener. Or run ```K Kestrel``` to run on Mono.
126
127
3. The first line of your output should say "Loaded Module: klr.core45.dll" instead of "Loaded Module: klr.net45.dll"
127
128
4. The HelloWeb app should work the same as when running on Desktop CLR.
0 commit comments