Install/Configure ASP.NET 5 Environment (DNX, DNVM)

To Install ASP.NET on its own (from a command prompt), we’ll need to first install and configure the environment in which ASP.NET runs, also known as .NET Execution Environment (DNX).  In addition, to setup the DNX we would another tool referred as .NET Version Manager (DNVM), which is used for installing and configuring different versions of the .NET Execution Environment (DNX), depending on whether we need the full .Net Framework or just .Net Core

As a first step, to install DNVM:

  1. Open a new command prompt
  2. Run the below command:

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Branch='dev';iex ((new-object net.webclient).DownloadString(''))}"

Now type “dnvm” in the command prompt and you should see something like the below:



As a next step:

To install DNX for .NET Core run:

         dnvm upgrade -r coreclr

To install DNX for the full .NET Framework run:

         dnvm upgrade -r clr


915 total views, 1 views today