Suave-CoreCLR-sample
Suave-CoreCLR-sample copied to clipboard
This is a CoreCLR Suave sample. .Net Core works and this is the repo that proves it!
Sample Suave hello world using .NET Core
- Install .NET Core SDK 1.0 sdk from http://dot.net
dotnet restoredotnet run
by default it's available at http://localhost:8083
Use command line arguments to change ip/port
Usage:
--ip ADDRESS ip address (Default: 127.0.0.1)
--port PORT port (Default: 8083)
The dotnet version is 1.0.1
Build Status
| Platform | Status |
|---|---|
| Windows | |
| Ubuntu 14.04 / OSX 10.11 |
Win/Mac Osx 10.11/Ubuntu 14.04
dotnet restoredotnet run
Docker
To clone, build and run inside the microsoft/dotnet:latest docker container
docker run -p 8083:8083 -it microsoft/dotnet:latestgit clone https://github.com/SuaveIO/Suave-CoreCLR-sample.git ~/hellowcd ~/hellowdotnet restoredotnet run --ip 0.0.0.0
use ip 0.0.0.0 inside container, and check docker container ip with docker ps