Questions tagged [dnx]

As an obsolete concept, the .NET Execution Environment contains the code required to bootstrap and run an application. This includes things like the compilation system, SDK tools, and the native CLR hosts.

Note that DNX is no longer an active term used in .NET Core ecosystem, and you should migrate to .NET Core CLI.

The .NET Execution Environment contains the code required to bootstrap and run an application. This includes things like the compilation system, SDK tools, and the native CLR hosts.

Goals

  • Create a new development experience that enables a quick development workflow (change code and run)
  • Have the ability to create a cached version of your application's dependencies ("compilation")
  • Expose metadata about the runtime for others to query

Principles

  • NuGet all the things
  • There is no such thing as "design time" (blur the lines between compilation and loading)
  • Dependencies are always described as what not where (there's no such thing as a project/nuget/assembly reference)
706 questions
10
votes
1 answer

Locals missing during debugging in Visual Studio 2015

Issue Locals only displays this variable while debugging, other local variables are not available in Locals or Watch but can be re-evaluated in Intermediate Window in Visual Studio Brief I'm debugging an Xunit test for some code I am writing. The…
Matthew Abbott
  • 60,571
  • 9
  • 104
  • 129
10
votes
3 answers

How to exclude files from being published in ASP.NET Core?

I have noticed that when I publish the new ASP.NET project, then it puts all the non-code files in the root folder in packages. E.g. these files end up there: Publish profiles gulpfile.js There is no real need to include those in the published…
Ilya Chernomordik
  • 27,817
  • 27
  • 121
  • 207
10
votes
1 answer

ASP.NET 5 behind nginx

I have a ASP.NET 5 MVC6 application behind a Nginx server that acts as a reverse proxy. Its configuration is : server { listen 80; server_name example.com; location / { proxy_pass http://localhost:5000; …
Sidoine
  • 310
  • 3
  • 9
10
votes
0 answers

DNX beta8+, ASP.NET 5 and Kestrel in Azure

As of ASP.NET Announcement 69: "ASP.NET 5 applications run in IIS have been hosted by a component named Helios" and In beta8, we're discontinuing the "Helios" IIS host.. Also: Hosting ASP.NET 5 applications in IIS will now be achieved using the…
Dovydas Navickas
  • 3,533
  • 1
  • 32
  • 48
10
votes
1 answer

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?
Catto
  • 6,259
  • 2
  • 52
  • 55
10
votes
2 answers

dnvm can't find latest version from nuget.org

Going through the steps of setting up dnvm on OSX and I can't seem to get past the dnvm upgrade step as it's returning the error: ~$ dnvm upgrade Determining latest version Error: Could not find latest version from feed https://nuget.org/api/v2 I…
Barranger Ridler
  • 880
  • 4
  • 17
9
votes
1 answer

DOTNET1011: Framework not installed: .NETFramework

I'm adding this here because it caused me a headache this morning while fixing our build server: Executing dotnet build would show me the following errors: DOTNET1011: Framework not installed: .NETFramework,Version=v4.6.1 error NU1001: The…
ciriarte
  • 1,433
  • 2
  • 13
  • 23
9
votes
3 answers

EF 6 with a dnx project

I have a new ASP.net 5 dnx class library I am using for entity framework. I need to target EF 6 because some features I need are not in EF 7. First the EF tools (like enable-migration) were not there. I added an old style class library and…
Don Chambers
  • 3,798
  • 9
  • 33
  • 74
9
votes
2 answers

How to run multiple commands in a batch file?

I am having the below commands in a batch file. While i try to run it using Execute action in Finalbuilder project, 1st command alone was run. So, i planned to have each commands in various batch files. Could anyone please help me to run all the…
Karthi
  • 575
  • 2
  • 10
  • 29
9
votes
2 answers

DNX on VSO Host Build Controller

When trying to build an ASP.NET 5 DNX project on VSO, I get the following error: Cannot find DNX runtime dnx-clr-win-x86.1.0.0-beta6 in the folder: C:\Users\buildguest.dnx\runtimes (119,5): Error : The Dnx Runtime package needs to be installed.…
Dave New
  • 38,496
  • 59
  • 215
  • 394
9
votes
2 answers

MySql in DNX 5.0

I would like to ask- is it possible to connect to MySql database in DNX Core 5.0? In my project I need to do web api and I have vNext Class Library project that should connect to MySql database and manipulate the data in this database. But... I have…
micihime
  • 91
  • 4
8
votes
2 answers

Is it possible to run ASP.NET 5 site directly on Kestrel in Azure WebApps?

I have checked that in the web response the server is IIS when I deploy ASP.NET5 to azure web app, so I guess the IIS platform handler is used to redirect it to Kestrel. So I am wondering if it is possible to run directly on Kestrel, and what…
Ilya Chernomordik
  • 27,817
  • 27
  • 121
  • 207
8
votes
1 answer

Performance comparison of dnxcore50 vs dnx451? (CoreClr vs .net Framework)

I have tried to find some data on performance of these two targets compared, but did not succeed. I am interested in a asp.net5 web application that runs on Windows (Or azure web app e.g.). Is there any significant difference in performance or from…
Ilya Chernomordik
  • 27,817
  • 27
  • 121
  • 207
8
votes
2 answers

Difference between dnx-clr-win-x86.1.0,0,rc1-final and dnx-clr-win-x86.1.0,0.rc1-update1

I have installed Visual Studio 2015 Update 1. However despite selecting install Web Applications it wasn't installed. I then installed from the get.asp.net website the installer asp.net 5 RC. Now when I want to open my ASP.net 5 project I get this…
dfmetro
  • 4,462
  • 8
  • 39
  • 65
8
votes
1 answer

dnx : Error: Unable to load application or execute command 'ef'

I am using using ASP.NET 5 Beta 8 with Entity Framework 7 Beta 8 I created a new class Library Package. I ran the following install packages prompts: Install-Package EntityFramework.SqlServer -Pre Install-Package EntityFramework.Commands…
greay
  • 1,725
  • 5
  • 18
  • 37