This is the repository for stable builds from the official development branch on GitHub.
# Start a container with the ASP.NET 5 image
> turbo run aspnet/aspnet5 --using git/git
# In the container, clone a sample project from GitHub
(123) > git clone http://github.com/aspnet/Home.git
# Change folder to the sample project
# (select subfolder with your version, the example below is for version beta5)
(123) > cd "Home\samples\1.0.0-beta6\HelloMvc"
# Restore the packages required by that sample
(123) C:\Home\samples\1.0.0-beta6\HelloMvc> dnu restore
# Run the web app
(123) C:\Home\samples\1.0.0-beta6\HelloMvc> dnx . web
Now open your browser to http://localhost:5001
If you already have another site running on port 5001 and you would like to have the traffic running on another port, you can simply use the --route-add
parameter in the run
command.
# Redirect traffic on port 5001 to 5002
turbo run --route-add=5002:5001 microsoft/aspnet5
You can stop the ASP.NET 5 server by pressing Enter in the ASP.NET 5 cmd window.
For more help, please run 'dnx -h' in the container command prompt.
No release notes
This repository does not have an EULA
Actions