Application startup template
ABP solution is Visual Studio project which provides a layered structure based on the Domain Driven Design (DDD) best practices. This document explains how to create a new solution, the structure of the solution and the aims of the projects inside the solution.
Creating a new ABP Commercial solution
Creating solution via ABP CLI
If you have not yet installed ABP CLI, you need to install it with the following command. To check if you already have it, write
abp to the command line.
dotnet tool install -g Volo.Abp.Cli
To create your solution, go to the directory where you want to create in and type the following command:
abp new Acme.BookStore -t app-pro
Acme.BookStoreis the project name. Your Visual Studio Solution,
.slnfile will be named as
Acme.BookStore.sln. The projects inside the root folder and all the namespaces will have the prefix
Acme.BookStore.*. You can give different project names like only
Acme.Retail.BookStore. You can use single level, two-level or three-level naming.
--templateis the template name. For commercial apps, use
To discover other CLI new project options type:
abp help new
Note that, if you want to uninstall ABP CLI tool, you can write:
dotnet tool uninstall -g Volo.Abp.Cli
Or to update / reinstall, you can write :
dotnet tool update -g Volo.Abp.Cli
Specify the UI framework
The 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
maui-blazor: MAUI Blazor UI
--ui option to specify the UI framework:
abp new Acme.BookStore -t app-pro -u angular
Specify the database provider
The template supports the following database providers:
ef: Entity Framework Core (default)
--database-provider option to specify the database provider:
abp new Acme.BookStore -t app-pro -d mongodb
Creating solution via ABP Suite
ABP Suite allows you to create a new ABP solution.
If you have not installed ABP Suite, see how to install ABP Suite.
To start ABP Suite, see how to start ABP Suite.
To create a new solution, see how to create a new solution.
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.