From nodejs.org install, we can get a series of command line tools for ASP.net 5 development on Mac OS.
(non command install or info: get.asp.net (ASP.Net 5 and .netCore), nodejs.org. code.visualstudio.net, omnisharp)
Here is the list of command from Mac OS Terminal (Bash) to install and build ASP.net 5.
sudo npm install -g generator-aspnet
sudo npm install -g yo (yoman scafalting)
yo aspnet mywebapp
cd [mywebapp]
dnu restore
dun build
dnx web
http://localhost:5000
sudo chown jimmy ~/.bash_profile
open ~/.bash_profile to add function code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $*; }
yo aspnet:WebApiController myAppController
http://localhost:5000/api/myapp
Code .
Note that there is a Docker file in the project so really deployment to server must have a container to host ASP.Net 5 with .netCore
Wednesday, February 17, 2016
Mac OS Bash Command line building ASP.Net
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment