In ASP.NET 5 projects, the project.json
file contains some important project data as dependencies in other packages. It turns out that this file has a "frameworks" section that in projects created in VS looks like this:
{
"frameworks": {
"dnx451": { },
"dnxcore50": { }
}
}
Now I do not understand exactly what that means. I know that now there are different versions of CLR that can be used, have full .NET and have the Core CLR that is lighter. But in that section it basically has "dnx451" and "dnxcore50" and I did not quite understand it.
My understanding is this: the idea is to have a section in which for each runtime in which the project can run it is possible to give specific configurations? So, for example, when I put "dnx451" I'm defining that the project can run in full .NET and when I put "dnxcore50" I'm defining that the project can also run in Core CLR?
And then in the objects corresponding to "dnx451" and "dnxcore50" is the idea to put specific settings for when the application runs in this runtime? For example, dependencies that should be considered only when using one of the two?