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.BookStoreis 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 UIblazor-server: Blazor Server UIangular: Angular UInone: 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.
- 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.