All of the project configuration should go into the project.json
file for the ASP.NET Core application. The following is the project.json
file that was created when using the predefined ASP.NET Core web application template:
There are different predefined nodes in this JSON file for different functionalities. Let us take some important nodes in this project.json
file and discuss them.
The dependencies
node lists all the dependencies for your ASP.NET Core application.
The following is a fragment of the dependencies
node in the ASP.NET Core application. Each dependency is an attribute value pair where the attribute represents the dependency and the value represents the version of the dependency. If you need to provide more information for the dependency, you can have a nested JSON configuration as it is in Microsoft.NETCore.App
:
"dependencies":{ "Microsoft.NETCore.App":{ "version": "1.0.0-rc2-3002702", "type": "platform"...