ABP Development Notes 3 - Solutions

Click here to enter the ABP Development Notes directory

 

Create a project

Click here to enter the ABP start template 

As shown in operation, we have Mr. into a .NET Core of MPA (Multi-page application) based. Click on "Create my project!" To create the project.

 

 Reading Project

Presentation layer (JD.CRS.Web.Mvc)

It provides a user interface to implement user interaction.

ASP.NET Core MVC (Model - View - Controller) can be considered as the presentation layer. It may be a physical layer (application by using the HTTP API) or a logical layer (using direct injection and application services). In either case, it may include localization, navigation, object mapping, caching, configuration management, audit logs. It also handles authorization, session, function (for multi-tenant applications) and exception handling.

Distributed services layer (JD.CRS.Web.Host)

For open application programming interface for remote client calls. For example, implemented by ASP.NET Web API and WCF.

This layer is provided by means for REST, OData, GraphQL remote API other applications / domains ... they do not contain functional business logic, and only the HTTP request into an interaction domain, or may be used to delegate the service application operation. The layer typically comprises authorization cache, audit logging, object mapping, exception handling, and the sessions.

Application layer (JD.CRS.Application)

Coordination between the presentation layer and domain layer, aligning business objects to perform tasks specific application. It does not contain business logic.

The application layer includes the use of application services layer art and art objects (field service entity ...) to perform the functions of the application request. It uses the acquired transmission-object data and returns the data to the data representing the distributed services layer or layers from the presentation layer or distributed services layer. It also handles authorization, caching, audit logging, mapping objects, and other sessions.

FIELD layer (JD.CRS.Core)

Including business objects and business rules, which is the core layer of the application.

This is the main layer to achieve our domain logic. It includes physical, service areas and the value of the object to perform the service / Domain logic. It also includes a specification of the field and trigger events. It defines an interface to read and store data from the reserved source (usually DBMS) entity.

Infrastructure layer (JD.CRS.EntityFrameworkCore)

Provide a common technology to support higher layer. Such as storage (Repository) infrastructure layer can be achieved interact with the database through ORM.

Infrastructure layer of the other layers play: it implements an interface repository (for example, using Entity Framework Core) to the actual use of the actual database. It may also include integration with suppliers to send e-mail. This is not strictly layer in all layers, but in fact to support the other layers by implementing abstraction layer.

Supplement

JD.CRS.Migrator provides database migration.

Web JD.CRS.Web.Core encapsulation layer core functionality.

 

Guess you like

Origin www.cnblogs.com/IT-Evan/p/ABP3.html