.NET CLI
.NET CLI is the command-line toolset for creating, building, running, testing, publishing, and managing .NET applications and projects.
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
- Provides terminal commands for creating, building, running, and publishing ASP.NET Core applications alongside Visual Studio workflows.
- How deep it goes
- Walks through template creation and core commands, explains implicit restore and build steps, and distinguishes build output from publish output.
- Examples
- Uses a runnable minimal API, a Razor Pages template, a worker-service template, and local JWT generation.
- What you can do after
- Build it from scratch with `dotnet new`, then operate it with `dotnet run` and prepare deployment output with `dotnet publish`.
.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.
Related concepts
- .NET SDKequivalent to · .NET SDK is Microsoft's software development kit providing tools, compilers, libraries, commands, and templates for building, testing, and publishing .NET applications.
- dotnet testused by · dotnet test is a .NET CLI command that builds a project or solution and discovers and executes its tests.
- Visual Studioalternative to · Visual Studio is Microsoft's integrated development environment for creating, building, debugging, and testing software across programming languages and platforms.
- projectuses · A software project is a managed collection of source files, configuration, dependencies, and build settings that defines a software unit and how it is produced.
- code reloadingcontrasts with · Code reloading is a development technique that detects changed code or resources and refreshes, reevaluates, or restarts affected application components without requiring a full manual restart.
- dotnet runhas part · dotnet run is a .NET CLI command that builds and runs an application from its project.
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.

