Dotnet new
dotnet new is a .NET command-line command that creates projects and other files from installed templates and lists available templates.
.NET in Action, Second Edition
dotnet new list is a .NET CLI command that displays the project templates installed for use by dotnet new.
- How it is used
- Creates .NET applications from the command line and verifies which project templates are installed.
- How deep it goes
- Explains command use through creation, help, installation, and verification workflows without detailing CLI implementation internals.
- Examples
- Uses console, web API, xUnit, and custom command-line templates as concrete project-generation examples.
- What you can do after
- Operate the .NET CLI to inspect installed templates, create projects, and verify custom-template installation.
Read how .NET in Action, Second Edition explains dotnet new →
ASP.NET Core in Action, 3e
dotnet new is a .NET CLI command that creates projects from installed templates.
- How it is used
- Creates ASP.NET Core applications from templates before restoring, building, and running them.
- How deep it goes
- Demonstrates template creation and options, but defers template customization and deployment to later commands.
- Examples
- Uses `dotnet new webapp -au Individual`, SQLite or LocalDB selection, and a generated Razor Pages login application.
- What you can do after
- Build a starter ASP.NET Core application from the command line and select its authentication and database configuration.
Pro ASP.NET Core 7, Tenth Edition
The dotnet new command is a .NET CLI command that creates projects, configuration files, and solution files from templates.
- How it is used
- Creates ASP.NET Core projects and shared configuration items during initial application setup.
- How deep it goes
- Explains template selection and runnable creation commands, while stopping short of template internals.
- Examples
- Demonstrates template listing, a .NET 7 web project, global.json, a solution file, and adding the project to the solution.
- What you can do after
- Apply it via the .NET CLI to create and organize an ASP.NET Core project from selected templates.
Read how Pro ASP.NET Core 7, Tenth Edition explains dotnet new →
Related concepts
- software templateuses · A software template is a reusable set of files, structure, and configuration that provides a starting point for creating a software project or repository.
- command-line toolproduces · A command-line tool is a software program operated through textual commands, options, or arguments in a command-line interface.
- SQLiteconfigures · SQLite is a self-contained, serverless relational database engine implemented as a software library that stores and queries databases in files or memory.
- applicationproduces · An application is a software program or system that performs tasks or provides functionality for users or other software systems.
- .NET CLIused by · .NET CLI is the command-line toolset for creating, building, running, testing, publishing, and managing .NET applications and projects.
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.


