Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Set up solution scaffolding: Infrastructure & Tests projects, shared build settings

Đang mở
#5 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
build-system, testing

Hướng nghiên cứu

Bắt đầu với AzStorage.slnx và các tệp project hiện có của Domain và Application để hiểu layout hiện tại và các thiết lập đích. Thêm các project Infrastructure và test xUnit được nêu tên, Directory.Build.props ở thư mục gốc và .editorconfig, sau đó xác minh các tiêu chí nghiệm thu bằng dotnet build và dotnet test.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Goal

Establish the base Clean Architecture skeleton so that Domain, Application, Infrastructure and test projects build consistently.

Why

Currently the solution only has empty Domain and Application projects targeting net10.0. Before implementing any storage functionality we need a consistent project layout, shared build settings and code style so future PRs stay consistent.

Tasks

  • Add src/AzStorage.Infrastructure/AzStorage.Infrastructure.csproj (referencing Domain & Application) for concrete implementations (Azure SDK, file system, etc.).
  • Add tests/AzStorage.UnitTests and tests/AzStorage.IntegrationTests projects (xUnit) referencing the corresponding src projects.
  • Add all new projects to AzStorage.slnx.
  • Add a Directory.Build.props at repo root to centralize shared properties (TargetFramework, ImplicitUsings, Nullable, LangVersion, analyzers) instead of duplicating them per csproj.
  • Add an .editorconfig with basic C# formatting/naming rules.

Acceptance Criteria

  • dotnet build succeeds for the whole solution.
  • dotnet test runs (even with zero tests) without errors.
  • No project duplicates TargetFramework/Nullable/ImplicitUsings settings that are already defined in Directory.Build.props.
Ngôn ngữ chính
C#
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của hunterlan/AzStorage

Tất cả issue của hunterlan/AzStorage

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.