liveBook · Manning

.NET CLI

Also called dotnet CLI

.NET CLI is the command-line toolset for creating, building, running, testing, publishing, and managing .NET applications and projects.

How 2 Manning books explain it

ASP.NET Core in Action, 3e

The .NET CLI is a command-line interface for creating, building, running, and managing .NET applications and projects.

How it is used
Uses the CLI throughout application development, from template creation and local testing to deployment preparation.
How deep it goes
Explains common commands, automatic restore and build behavior, and publishing output through practical workflows.
Examples
Creates a minimal API, a Razor Pages application, and a worker service from templates.
What you can do after
Apply it via the .NET CLI to create, build, run, and publish an application, and generate JWTs for local testing.

Read how ASP.NET Core in Action, 3e explains .NET CLI →

.NET MAUI in Action

.NET CLI is the command-line interface for creating, building, running, testing, and managing .NET projects.

How it is used
Creates and runs .NET MAUI applications from a terminal as a lightweight alternative to Visual Studio.
How deep it goes
Explains templates, default values, switches, help, and build-command anatomy through concrete project and platform commands.
Examples
Uses AlohaWorld and HelloWorld projects, blank templates, terminal listings, and iOS build-and-run commands.
What you can do after
Build it from scratch by creating a .NET MAUI project, customizing template options, and running it for a supported target platform.

Read how .NET MAUI in Action explains .NET CLI →

Also covered in

Related concepts

Questions about .NET CLI

What is .NET CLI?

.NET CLI is the command-line toolset for creating, building, running, testing, publishing, and managing .NET applications and projects.

Which Manning books explain .NET CLI?

ASP.NET Core in Action, 3e and .NET MAUI in Action.

What is the difference between .NET CLI and Visual Studio?

.NET CLI is the command-line toolset for creating, building, running, testing, publishing, and managing .NET applications and projects. Visual Studio is Microsoft's integrated development environment for creating, building, debugging, testing, and managing software projects.

What are the parts of .NET CLI?

.NET CLI includes dotnet run.

What is .NET CLI also called?

.NET CLI is also called dotnet CLI.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.