Thank you for your interest in contributing to BitzOrcas!
Project structure
src/├── BuildingBlocks/ → Shared infrastructure (10 packages)├── Platform/ → Business modules (3 projects)├── Hosts/ → Executable hosts (4 projects)└── Tooling/ → CLI tools and templatestests/├── BitzOrcas.Unit.Tests├── BitzOrcas.Application.Tests├── BitzOrcas.Integration.Tests├── BitzOrcas.Architecture.Tests└── BitzOrcas.CodeGeneration.TestsCode style
- Language: C# with nullable reference types enabled
- Naming: PascalCase for public members, _camelCase for private fields
- Comments: Chinese comments in source code (团队约定)
- AOT awareness: No reflection in AOT-enabled projects (API Host)
Commit conventions
- Use conventional commits:
feat:,fix:,docs:,refactor:,test: - Reference issue numbers where applicable
PR process
- Fork the repository
- Create a feature branch
- Make your changes
- Run
dotnet buildanddotnet test - Submit a pull request
Module creation checklist
When adding a new module:
- Entity in
Infrastructure.Persistence.Models - Service port in
Platform.Application - InMemory/Null defaults in
Platform.Application - SqlSugar repository in
Infrastructure.SqlSugar - Integration event DTOs in
SaaS.Contracts - Minimal API endpoints in
Api/Endpoints - DI registration in
PersistenceRegistration - Architecture test for module boundaries
See also
- Architecture — Architecture reference
- Add a module — Step-by-step module creation