ASP.NET 5's icon

ASP.NET 5 rc1-update1

Microsoft's open-source framework for building web applications

Description

ASP.NET 5 is a new open-source and cross-platform framework for building modern cloud-based Web applications using .NET. It is built from the ground up to provide an optimized development framework for apps that are either deployed to the cloud or run on-premises. It consists of modular components with minimal overhead, so you retain flexibility while constructing your solutions. ASP.NET 5 is fully open source on GitHub.

Readme

This is the repository for stable builds from the official development branch on GitHub.

Getting started

# 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

Change the port on the container

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

Stop ASP.NET 5 server

You can stop the ASP.NET 5 server by pressing Enter in the ASP.NET 5 cmd window.

Getting help

For more help, please run 'dnx -h' in the container command prompt.


Release Notes

No release notes


EULA

  • Actions

    Go to TurboScript
  • Dependencies
    PowerShell 3 Microsoft .NET 4.5.2
  • Used By
    No repositories
  • Website
    Developer: asp.net/vnext
  • Current
    rc1-update1 updated 9 years ago
  • Details
    Updated: March 31, 2016
    Created: July 29, 2015