Starts in:
0 DAY
0 HR
3 MIN
40 SEC
Starts in:
0 D
0 H
3 M
40 S

There are multiple versions of this document. Pick the options that suit you best.

UI
Database
Tiered

Getting Started

This tutorial assumes that you've already purchased an ABP Commercial license and have an active ABP Commercial account.

This document assumes that you prefer to use Blazor Server as the UI framework and MongoDB as the database provider. For other options, please change the preference on top of this document.

Create a new project

There are two ways of creating a new project: ABP Suite and ABP CLI.

Using the ABP Suite to create a new project

ABP Suite is the recommended way to create new solutions for the ABP Commercial.

Run the ABP Suite with the following command:

abp suite

This command starts the ABP Suite and opens in your default browser:

suite-ui

Click the Create a new solution button and fill the modal form:

suite-create-new-solution-angular

Select the UI framework, Database provider, and other options based on your preferences, then click on the OK button.

You can use a different level of namespaces, e.g: BookStore, Acme.BookStore or Acme.Retail.BookStore.

Using the ABP CLI to create a new project

Use the new command of the ABP CLI to create a new project:

abp new Acme.BookStore -t app-pro -u blazor-server -d mongodb

You can use a different level of namespaces; e.g: BookStore, Acme.BookStore or Acme.Retail.BookStore.

Theme

Lepton X

A new, modern and stylish Bootstrap UI theme with different color options, it's the newest theme and is the default. If you choose it, another option named Theme style** will show up, you can choose one out of 4 options: System, Dim, Dark or Light.

Lepton

A modern, mature, responsive UI theme with different style and color options.

Basic theme

A minimalist UI theme with plain Bootstrap colors and styles. Ideal if you will build your own UI theme.

Mobile Development

React Native

You can specify the -m react-native option to create a new application with React Native. This is a basic React Native startup template to develop mobile applications integrated to your ABP-based backends.

See the Getting Started with the React Native document to learn how to configure and run the React Native application.

MAUI

You can specify the -m maui option to create a new application with MAUI. This is a basic MAUI startup template to develop mobile applications integrated into your ABP based backends.

See the Getting Started with the MAUI document to learn how to configure and run the MAUI application.

If you don't need a mobile project in your solution, you can provide the -m none option to the ABP CLI.

ABP CLI commands & options

ABP CLI document covers all of the available commands and options for the ABP CLI. The main difference for the ABP Commercial is the template names. See the ABP Commercial Startup Templates document for other commercial templates.

The solution structure

The solution has a layered structure (based on the Domain Driven Design) and contains unit & integration test projects. See the solution structure document to understand the solution structure in details.

MongoDB Transactions

The startup template disables transactions in the .MongoDB project by default. If your MongoDB server supports transactions, you can enable it in the YourProjectMongoDbModule class's ConfigureServices method:

Configure<AbpUnitOfWorkDefaultOptions>(options =>
{
    options.TransactionBehavior = UnitOfWorkTransactionBehavior.Auto;
});

Or you can delete this code since this is already the default behavior.

Next Step

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