Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>2018-01-23 16:27:34 +0300
committerJan Kotas <jkotas@microsoft.com>2018-01-23 16:27:34 +0300
commite0a801aea248db5154977bba6e29ee87fe101862 (patch)
treee6a50c314280467160e21cd1edecc457ec68f2a6 /samples/WebApi
parent411c3eff34eb232db3d6fd73e6b13d147b8711d1 (diff)
Fix WebApi sample to work on macOS (#5273)
* Pass required frameworks to the linker on macOS The `CoreFoundation` and `Security` frameworks are required to link anything that includes `System.Security.Cryptography.Native.Apple.a`. * Update WebApi instructions for macOS
Diffstat (limited to 'samples/WebApi')
-rw-r--r--samples/WebApi/README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/samples/WebApi/README.md b/samples/WebApi/README.md
index 4ca72f80d..2567db9bd 100644
--- a/samples/WebApi/README.md
+++ b/samples/WebApi/README.md
@@ -136,6 +136,8 @@ Once completed, you can find the native executable in the root folder of your pr
## Try it out!
+If you are running macOS, make sure you have [libuv](https://github.com/libuv/libuv) installed, as ASP.NET is built on top of libuv. You can use [homebrew](https://brew.sh/) to get it (`brew install libuv`).
+
Navigate to `/bin/x64/<Configuration>/netcoreapp2.0/publish/` in your project folder and run the produced executable. It should display "Now listening on: http://localhost:XXXX" with XXXX being a port on your machine. Open your browser and navigate to that URL. You should see "Hello World!" displayed in your browser.
Feel free to modify the sample application and experiment. However, keep in mind some functionality might not yet be supported in CoreRT. Let us know on the [Issues page](https://github.com/dotnet/corert/issues/).