Reputation: 16831
In Visual Studio 2015, I've created a new ASP.NET MVC 5 Web API project. When I looked at the project.json that was created I saw this bit of configuration:
"frameworks": {
"dnx451": { },
"dnxcore50": { }
},
Since I needed to use EF6 and following advice in the answer to a question, I've removed the reference to "dnxcore50".
However, the answer to another question mentions an altogether different framework: "aspnet50".
What is the difference between "dnx451" and "aspent50"?
Upvotes: 1
Views: 677
Reputation: 13699
The new ASP.NET 5 is very new and still very changing. Even the naming changed.
There was an announcement that changed the name aspnet50
and aspnetcore50
to dnx451
/dnx452
/dnxcore50
back in April.
Then at the end of October, dnxcore50
became dotnet5.4
and dnx451
became net451
.
So yeah... those should be the final rename and we shouldn't see any new monikers as they are called.
dnxcore50
When you need to do that, it's basically because a library that you are using might not support dnxcore50
yet so compilation fails. dnxcore
(or dotnet5.4
) will works cross-platform while net451
will only work on Windows.
Upvotes: 2