Chapter 15 – Taking C# Cross-Platform
- Which platforms are supported by .NET Core and ASP.NET Core?
Windows, Mac OS X, Docker, and Linux are the platforms supported by .NET Core and ASP.NET Core.
- What command downloads dependent packages for a project?
The
dnu restore
ordotnet restore
commands downloads dependent packages for a project. - What file does project directory require in order to restore packages?
The
project.json
file is required in project directory in order to restore packages. - What command will show the currently installed versions of .NET?
The
dnvm list -detailed
command will show the currently installed versions of .NET. - What command will switch to a different version of .NET?
The
dnvm use [parameters]
command will switch to a different version of .NET.