DNVM Dotnet Version Manager DNX and Dotnet Execution Environment

Path = C:\Program Files\Microsoft DNX\DNVM\

On command prompt run:

dnvm list

This will help initial setup of DNVM.

if dnx is not found run:

dnvm use default -p

The option -p sets up path to dnx permanently in PATH variable. Exclude -p to setup dnx only for the current command prompt session.
Purpose and use:

EntityFramework Commands package when included in solution and aliased with command “ef” allows you to run commands against EF.

dnx ef migrations add initial
dnx ef database update

These apply to ASPNET Core as per blog below:

https://github.com/shawnwildermuth/ASPNETCoreRC1ToRC2/blob​/a0156c8882259442df2d2b114dd5b43145044b86/src/RC1toRC2/Models/ApplicationDbContext.cs​

​These might apply to ASPNET5 as per:

https://msdn.microsoft.com/en-us/library/jj591621(v=vs.113).aspx

Leave a Reply