Objective: webapi developed under netcore3.x learning environment.
Project: Directory and description
1, AM.Template.Data, persistence, by the example database instance to query the database changes (CURD), operation.
2, AM.Template.Domain, layer field, the field of the solid model for the relationship between design entities, and generate the database tables.
3, AM.Template.Models, output entity corresponds to the ViewModel, for returning the physical format of the interface design.
4, AM.Template.Infrastructure, the service layer, and the interface specific implementation procedures.
5, AM.Template.Web, netcore webapi project, the real start of the project.
6, AM.Template.common, public class methods, some general methods can be placed in this class.
netcore webapi study found advantages:
1, a simple dependency injection, and provides single-mode weight: