In the project.json
file, you may find the following information:
userSecretsId: A GUID-like value used for working with user secrets
dependencies: A list of server-side dependencies
version: The project version
frameworks: .NET Core framework name and version
build/runtime/publish options: Build/runtime configuration and a list of files/folders to include when publishing the web app
scripts: A list of scripts for actions that can be triggered by specific events, such as
prepublish
,postpublish
, and others
The following screenshot of the project.json
file shows the contents of a typical project configuration file, collapsed to fit all top-level items:
Within the dependencies section of your configuration file, you will find a list of all your server-side dependencies, such as ASP.NET MVC, Entity Framework, and many others. These are also visible as your project references in Solution Explorer.
The preceding screenshot shows...