Creating a new ABP solution
Create a new solution
Creates a new ABP solution. It's an alternative way of creating an ABP project rather than ABP CLI. To create a new ABP Solution, click the Create a new solution button. It will open a new dialog for the options.
You need to provide your template type, project name, output folder where the project will be created in, UI Framework as your front-end, mobile option (React Native or none), database provider, database management system (if the database provider is Entity Framework Core) and connection string.
Also, you can add a public web site project to your solution, separate tenant schema by choosing the Separated tenant schema
option and create the solution as tiered with the Tiered option which separates Web
and HTTP API
projects.
Template type: This is the startup template type of your solution. You can check the all available templates from here.
Project name: This is the solution name and also the prefix for the namespace of your solution. In this example
Acme.BookStore
is the project name. The solution file will be named asAcme.BookStore.sln
. And the namespaces ofc#
files will start withAcme.BookStore.*
Output folder: This is the directory where the new project will be created. Suite automatically creates the output directory if not exists and places the project folder inside the output directory. See the below folder view for
Acme.BookStore
project.Theme: You can generate your project with one of the 3 themes:
LeptonX
,Lepton
, andBasic theme
.LeptonX
is a new modern and stylish Bootstrap UI theme with different color options. It's is the newest theme and is the default.Lepton
is a modern, mature, responsive UI theme with different style and color options.Basic theme
is a minimalist UI theme with plain Bootstrap colors and styles. Ideal if you will build your own UI theme.
If you choose LeptonX, another option named Theme style will show up, you can choose one out of 4 options:
System
,Dim
,Dark
orLight
.
UI framework: There are 4 types of UI Frameworks:
MVC
,Angular
,Blazor WebAssembly
,Blazor Server
. Suite works with all of these frameworks.If you choose
Angular
orBlazor WebAssembly
, two checkbox options will appear at the bottom:Separate Auth Server
: Separates the Auth Server application from the API host application. If not checked, the server-side will have a single endpoint.Progressive web application
: Optional Progressive Web Application checkbox.
Mobile: You can create the template with React Native and MAUI as a mobile framework or without any mobile application support.
Database Provider: ABP supports 2 database providers:
Entity Framework Core
andMongoDB
.Entity Framework Core
supports a variety of database management systems likeMS SQL Server
,Oracle
,MySQL
orPostgreSQL
. See the full list https://docs.microsoft.com/ef/core/providers/?tabs=dotnet-core-cli. On the other hand MongoDB is a document-oriented NoSQL database used for high volume data storage. If you have a requirement to work with relational database systems, chooseEntity Framework Core
otherwise chooseMongoDB
.Database management system: You can choose your Database Management System (DBMS) while creating a new solution. There are 6 types of database management system:
SqlServer
(default),MySQL
,SQLite
,Oracle
,Oracle-Devart
andPostgreSQL
.Connection string: You can define the connection string for connecting to the database by filling this area.
Public web site: Creates the solution with an additional public web site project.
Separated tenant schema: Creates the solution with the separated tenant schema support. Also, it creates a separate DbContext & migration path for tenants to not include host-related tables in tenant databases.
Tiered: Creates a tiered solution where
Web
andHTTP API
layers are physically separated. If not specified, it creates a layered solution which is less complex and suitable for most scenarios. You can leave it unchecked, if you are not sure.Preview: Creates the solution in the latest preview version.