Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
61 lines (51 sloc) 2.31 KB

Getting Started

Installing & updating ASP.NET 5

  1. Go to and follow the instructions for installing ASP.NET 5 on your OS.

  2. Go to a command prompt and update dnvm:

    dnvm update-self
  3. From a command prompt, upgrade to the latest DNX from the unstable feed:

    dnvm upgrade -u
  4. List out your installed DNX versions to ensure the above steps worked and that the newest DNX version is marked as "default" and is highlighted for use:

    dnvm list

Create a new project, configure it to use the unstable packages feed, and upgrade it to RC2

  1. Open Visual Studio 2015

  2. Create a new ASP.NET 5 application:

  3. File -> New -> ASP.NET Web Application -> ASP.NET 5 -> Empty Web Application

  4. Open the global.json file and remove the sdk section. This will instruct Visual Studio to use the version configured as "default" from the steps before.

  5. Add a NuGet.config file to the root of the solution with the following contents. This will configure NuGet to use the unstable feed for packages:

    <?xml version="1.0" encoding="utf-8"?>
        <add key="AspNetCiDev" value="" />
        <add key="NuGet" value="" />
  6. Open the project.json file and change the versions listed in the dependencies section from "1.0.0-rc1-final" to "1.0.0-*". This will instruct NuGet to download the latest builds of these packages from the feeds configured in the step above.

  7. Open the "References" node in Solution Explorer and confirm the package versions are "1.0.0-rc2-*"

  8. Update the commands section of the project.json file to look like the following, ensuring you use the name of your application:

"commands": {
  "WebApplication11": "WebApplication11",
  "web": "WebApplication11"
  1. Update the public static void Main method in Startup.cs to match the following:
public static void Main(string[] args)
    var host = new WebHostBuilder()

  1. Verify your application builds and runs (Ctrl+F5)