This article describes how to install ASP.NET5 on Windows, including installing separately and through Visual Studio 2015.
In this article:
- Installing ASP. NET from Visual Studio
- Install ASP.
Installing ASP. NET from Visual Studio
The simplest way to start creating ASP.NET5 applications is to install the latest version of Visal Studio 2015 (including the free community version). Visual Studio is an integrated development environment (IDE), which means that it is more than just an editor, but also includes many of the tools you need to create your application, such as an ASP. NET 5 Web application. When you install Visual Studio 2015, you make sure that Microsoft Web Developer Tools is installed.
Once Visual Studio is installed, ASP. NET 5 is installed at the same time. You can start creating your first asp .
Install ASP.
Visual Studio is not the only way to install ASP. It may not be appropriate to install the IDE in some cases. You can also install ASP. NET from its own command prompt. There are several steps involved, as we need to install and configure the ASP. NET execution Environment (DNX). Before installing NDX, we need a tool:. NET Version Manager (DNVM).
Install. NET Version Manager (DNVM)
. NET version manager is used to install one or more. NET run environment versions and to manage which version is the current active version. To install DNVM on Windows, you need to open the command Prompt box (CMD) as an administrator and run the following PowerShell script:
" &{$Branch = ' dev '; IEX (New-object net.webclient). Downloadstring (' Https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1 ')}"
Or start PowerShell to run the following script:
&{$Branch= ' dev '; IEX (New-object net.webclient). Downloadstring (' Https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1 ')}
After the above script runs, open a new command prompt and type DNVM to confirm that DNVM is working correctly. If the DNVM is configured correctly, you should see a result similar to the following:
Installing the. NET Execution Environment (DNX)
Install the latest version of DNX with DNVM, run: DNVM upgrade
This command will download the latest version of DNX to your user profile so that it can be used.
After the above command completes correctly, type DNX to confirm that the DNX configuration is correct.
Now that the DNX is installed, you can start using ASP. NET 5!
Summarize
Installing ASP. NET 5 in Windows is easy to install either individually or as part of Visual Studio 2015. Once the installation is complete, you are ready to start creating your first ASP .
Installing ASP. NET 5 (translated) on Windows