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, helping developers quickly build clearly structured and easily maintainable modern Web application services.
Result-oriented and practical is the core philosophy behind our template design. In terms of architecture design, we mainly follow three principles: Universal, Simple, and Flexible, dedicated to providing developers with an efficient and easy-to-use development experience. The specific meanings of the three principles:
Important
Best Practices in the documentation is a technical term, referring to recommended implementation methods after practice, and does not mean the best method. Everyone or team can have their own best practices.
Software development and delivery is essentially a process of digital asset production and manufacturing. In reality, many productions 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. Based on this, we designed the following project structure:
Definition layer.Modules (multiple modules).Services layer.Refer to the Directory Structure document to learn detailed descriptions of 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 define the infrastructure needed by the application through code. You can read Configuring Development Environment with Aspire to learn how to use it.
ĺ 厚大纲