Starts in:
1 DAY
15 HRS
12 MIN
59 SEC
Starts in:
1 D
15 H
12 M
59 S

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?

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.

In this document
Community Talks

What’s New with .NET 9 & ABP 9?

21 Nov, 17:00
Online
Watch the Event
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.

Learn More