abp simple to understand

concept

ABP framework called the "ASP.NET Boilerplate Project", the Chinese translation for "ASP.NET model projects", mainly the .NET Enterprise Project mainstream development technology infrastructure (vessel injection, EF, EventBus, etc.) to integrate, so. NET engineers can develop better and faster project.

ABP official website: http://www.aspnetboilerplate.com/  

ABP GitHub Source Address: https://github.com/aspnetboilerplate

ASP.NET Boilerplate is intended to be a generic WEB application framework and project templates.

 

Exploration

Step One: Download abp initial template project

Open abp solution, introduced in the following figure

 

 

The second step :( migrate) to initialize the database

Configuration Database Migration Database Connectivity] [Migrator project appsettings.json in, while recognizing EntityFrameworkCore in idhDbContextConfigurer.cs, confirm that the database (default is to use mssql). Then start Migrator

 

View the database, you can find a database has been built

 

Third, configure Web.Host project appsettings.json database connection, run the project and test

 

Testing API, first need to log in to verify authorization.

View tenant information through select * from dbo.AbpTenants, * from dbo.AbpUsers view user account information via select (admin account, a default password is to 123qwe)

 

Secondly, api test, for example, register an account

 

Back to Results

 

Returns the result, then the success has been substantially transferred through. Follow-up is started to add functionality or improve on this basis. For example, using mysql replace mssql, add the order function

 

Guess you like

Origin www.cnblogs.com/johnyong/p/11117756.html