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

Application: upload, download and delete blob use cases

Đang mở
#8 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
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
azure, csharp
Lĩnh vực
backend, cloud, testing

Hướng nghiên cứu

Bắt đầu trong các project AzStorage.Application và AzStorage.Infrastructure, sau đó xem xét các API truyền và tiến độ của Azure SDK. Sử dụng các integration test của Azurite làm điểm bắt đầu và bao phủ việc các byte trong upload/download bằng nhau, xóa blob, cũng như hủy trong khi quá trình truyền đang diễn ra. Công việc hoàn tất khi các port, use case, triển khai infrastructure và acceptance test được liệt kê đã hoàn thành.

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

Mô tả

Goal

Implement the core file-transfer operations every storage browser needs.

Why

Upload/download/delete is the minimum viable "does something useful" slice of the app, and progress/cancellation support is something users frequently complain is clunky or missing in Storage Explorer.

Tasks

  • Add ports for UploadBlobAsync, DownloadBlobAsync, DeleteBlobAsync (and container delete) in AzStorage.Application.
  • Add use cases wrapping these operations, accepting an IProgress<long>-style callback and a CancellationToken so a future UI can show progress bars and let users cancel.
  • Implement in AzStorage.Infrastructure using the Azure SDK's built-in transfer/progress APIs.
  • Add integration tests (Azurite) covering: upload then download round-trip (content matches), delete removes the blob, cancellation actually stops an in-progress transfer.

Acceptance Criteria

  • Round-trip upload/download test verifies byte-for-byte content equality.
  • Cancelling an upload/download mid-transfer is verified by a test (e.g. using a CancellationTokenSource with a short delay).

Depends on

  • Application: list containers & blobs with pagination
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.