visual-studio-2015dnx

What is DNX in Visual Studio 2015 & how do I use it?


What is DNX in Visual Studio 2015 & how do I use it?

I see DNX is Dot Net eXecution environment. What I would like to know is what exactly is it and how is it used?


Solution

  • DNX is an SDK of .Net similar but not at all identical to the .Net Framework. The differences are quite dramatically including topics like

    The DNX SDK evolved from the ASP.Net team and is supported by the CoreCLR and CoreFx projects of the .Net Framework team. The CoreFx/CoreCLR/Roslyn modules (which are not identical to DNX) are also used by other SDKs like the Universal Windows Platform (UWP) which targets other features (like native compilation and the WinRT app model).

    And now the ugly but good news:

    And this is really good and keeps .Net relevant (vs. e.g. Node.js).

    In Visual Studio 2015 you can utilize it, using the ASP.Net 5 project templates.

    ps: Wrote to much again and read your comment too late. Hope it helps!

    pps: be aware... DNX is history. The CLI takes over.. Which covers most of its characteristics but not all.

    ppps: this comment is not reflecting .NET Core (in which DNX ultimatively evolved) anymore. .NET Core and later ".NET 5" are very different beasts.