Version

Creating a New Solution

You can use the ABP CLI to create a new project using this startup template. Or alternatively, you can directly create this startup template via Suite.

Creating a New Solution via ABP CLI

Firstly, install the ABP CLI if you haven't installed it before:

dotnet tool install -g Volo.Abp.Cli

Then, use the abp new command in an empty folder to create a new solution:

abp new Acme.BookStore -t app-nolayers-pro
  • Acme.BookStore is the solution name, like YourCompany.YourProduct. You can use single-level, two-level or three-level naming.
  • In this example, the -t (or alternatively --template) option specifies the template name.

Specify the UI Framework

This template provides multiple UI frameworks:

  • mvc: ASP.NET Core MVC UI with Razor Pages (default)
  • blazor: Blazor UI
  • blazor-server: Blazor Server UI
  • angular: Angular UI
  • none: Without UI (for HTTP API development)

Use the -u (or --ui) option to specify the UI framework while creating the solution:

abp new Acme.BookStore -t app-nolayers-pro -u angular

This example specifies the UI type (the -u option) as angular. You can also specify mvc, blazor, blazor-server or none for the UI type.

Specify the Database Provider

This template supports the following database providers:

  • ef: Entity Framework Core (default)
  • mongodb: MongoDB

Use the -d (or --database-provider) option to specify the database provider while creating the solution:

abp new Acme.BookStore -t app-nolayers-pro -d mongodb

Creating a New Solution via Suite

ABP Suite allows you to create a new ABP solution from UI.

What's Next?

Was this page helpful?
Please make a selection.
Thank you for your valuable feedback!

Please note that although we cannot respond to feedback, our team will use your comments to improve the experience.

In this document
Mastering ABP Framework Book
Mastering ABP Framework

This book will help you gain a complete understanding of the framework and modern web application development techniques.