Perigon.template is a framework template based on the Aspire, ASP.NET Core, and EntityFramework Core technology stack. Combined with best practices, good development standards, and the development assistance tool Perigon.CLI, it provides rapid development capabilities to help developers quickly build modern Web application services with clear structure and easy maintenance.
Result-oriented and practical is the core concept of our template design. In architectural design, we mainly follow three principles: universal, concise, and flexible, committed to providing developers with efficient and easy-to-use development experiences. The specific meanings of the three principles:
Important
Best Practices in the documentation is a technical expression term, referring to recommended implementation methods after practice, and does not mean the best way. Everyone or team can have their own best practices.
Software development and delivery is essentially the process of digital asset production and manufacturing. Many productions in reality can be simply summarized as: Design->Production->Delivery, which also applies to software development.
In software development, we can simplify it to: Definition->Implementation->Service. On this basis, we have designed the following project structure:
Definition layer in the template.Modules (multiple modules) in the template.Services layer in the template.You can refer to the Directory Structure document for detailed instructions on each directory and project.
AppHost is the Aspire host project, which is responsible for starting and managing all service instances. In the template, the AppHost project is the entry point for running the entire application.
We will define the infrastructure needed for the application through code. You can read Configuring Development Environment with Aspire to learn how to use it.
ĺ 厚大纲