When you create a new project in Visual Studio 2015 based on the ASP.NET project template you get the following frameworks element in project.json
"frameworks": {
"dnx451": { },
"dnxcore50": { }
},
If you add a class library to the solution the frameworks element look like this:
"frameworks": {
"dotnet": { }
}
Now what are these different frameworks and do I need all of them? for example if I want this library to access data from sql server can I use dnx451 or I have to use dotnet?
In earlier versions of ASP.NET 5 it was advised to get rid of dnxcore50. Is this still the case? why would you use dnx451 and not dnxcore50 for example?
Also what version of .NET the "dotnet" framework is referring to?