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
Bash

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

abp new Acme.BookStore -t app-nolayers-pro
Bash
  • 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
Bash

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
Bash

Creating a New Solution via Suite

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

What's Next?

Contributors


Last updated: December 13, 2022 Edit this page on GitHub

Was this page helpful?

Please make a selection.

To help us improve, please share your reason for the negative feedback in the field below.

Please enter a note.

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.

Community Talks

Real World Problems and Solutions with AI

27 Feb, 17:00
Online
Watch the Event
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book