Installing ASP.NET 5

When we install the Visual Studio Community 2015 edition, ASP.NET 5 will be installed by default. As the ASP.NET Core application runs on top of ASP.NET 5, we need to install ASP.NET 5. There are a couple of ways to install ASP.NET 5:

  • Get ASP.NET 5 from https://get.asp.net/

    Installing ASP.NET 5

  • Another option is to install from the New Project template in Visual Studio

This option is a bit easier as you don't need to search and install.

The following are the detailed steps:

  1. Create a new project by selecting File | New | Project or using the shortcut Ctrl + Shift + N:

    Installing ASP.NET 5

  2. Select ASP.NET Web Application and enter the project name and click on OK:

    Installing ASP.NET 5

  3. The following window will appear to select a template. Select the Get ASP.NET 5 RC option as shown in the following screenshot:

    Installing ASP.NET 5

  4. When you click on OK in the preceding screen, the following window will appear:

    Installing ASP.NET 5

  5. When you click on the Run or Save button in the preceding dialog, you will get the following screen asking for ASP.NET 5 Setup. Select the checkbox, I agree to the license terms and conditions and click on the Install button:

    Installing ASP.NET 5

  6. Installing of ASP.NET 5 might take a couple of hours. Once it is completed you'll get the following screen:

    Installing ASP.NET 5

During the process of installing ASP.NET 5 RC1 Update 1, it might ask you to close the Visual Studio. If asked, please do so.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset