Добавлен пример на .NET 10#3
Open
axtox wants to merge 33 commits into
Open
Conversation
This includes only basic S3 setup
…tion functionalities
…ning Docker images, and add .dockerignore
…cker section formatting
…hod and improve validation in CreateS3Client
There was a compile errors in case of using Required fields in this particular case
There was a problem hiding this comment.
Pull request overview
This PR adds a new .NET 10 example to the repository, demonstrating core Amazon S3 (Timeweb Cloud S3-compatible) operations via the AWS SDK, along with run instructions for CLI, Docker, and VS Code tasks.
Changes:
- Added a C# direct-file sample (
dotnet/src/sample.cs) covering bucket/object operations, tagging, and lifecycle rules with JSON-formatted output. - Added .NET-specific documentation and environment configuration templates (
dotnet/README.md,.env.example), plus VS Code tasks and ignore files. - Added a root README link to the new
.NETexample folder.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 11 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Adds a link to the new .NET example section. |
| dotnet/src/sample.cs | Implements the .NET S3 sample showcasing common API operations and formatted output. |
| dotnet/src/.env.example | Provides an example .env template for S3 credentials/config. |
| dotnet/README.md | Documents how to run the sample via CLI, Docker, and VS Code tasks. |
| dotnet/Dockerfile | Adds a multi-stage Docker build for the sample. |
| dotnet/.gitignore | Ensures build artifacts and .env are not committed. |
| dotnet/.dockerignore | Attempts to exclude .env from Docker build context. |
| .vscode/tasks.json | Adds tasks to run locally and build/run via Docker from VS Code. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Which means that the bug is fixed!
…S3Settings for AOT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Описание
Добавлен пример использования Amazon S3 SDK для работы с S3-хранилищем Timeweb Cloud на платформе .NET. Пример демонстрирует основные операции с объектным хранилищем, включая создание и удаление бакетов, загрузку и скачивание файлов, а также работу с метаданными объектов. Проект сопровождается подробной инструкцией по запуску через CLI, Docker и Visual Studio Code.
Мотивация
Изначально вызван особенностями работы TimeWeb S3 с новыми версиями AWS SDK (как выяснилось, PutObject с latest 4.x AWS.SDK не работали с TimeWeb S3) которые вызвали трудности в подключении на современных стеках (предположительно влияющие на интеграцию с разными языками, а не только .NET)
На момент Июля 2026 ситуация полностью решена и пакет официального клиента AWS SDK обновлен до самой актуальной версии, пример показывает как работать с ним в Timeweb S3 на dotnet 10
Что сделано
<=4.0.100) для корректной работы с Timeweb Cloud S3.env(используется DotNetEnv).Тикет
#4