# Blobstoring Dotnet

> Thiết lập Jarvis.BlobStoring — upload/download file qua IBlobStoringService với FileSystem hoặc MinIO keyed DI. Dùng khi tích hợp blob storage .NET, section FileSystem/MinIO, hoặc inject IBlobStoringService.

- **Type:** Skill
- **Install:** `agentstack add skill-hoangnh2412-ai-skills-blobstoring-dotnet`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [hoangnh2412](https://agentstack.voostack.com/s/hoangnh2412)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [hoangnh2412](https://github.com/hoangnh2412)
- **Source:** https://github.com/hoangnh2412/ai-skills/tree/main/jarvis/skills/blobstoring-dotnet

## Install

```sh
agentstack add skill-hoangnh2412-ai-skills-blobstoring-dotnet
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Jarvis.BlobStoring — Orchestrator

Skill điều phối `Jarvis.BlobStoring`, `Jarvis.BlobStoring.FileSystem`, `Jarvis.BlobStoring.MinIO` trên ASP.NET Core.

Hướng dẫn người dùng: [README.md](README.md). API interface: [reference/iblob-api.md](reference/iblob-api.md).

## Khi nào dùng workflow nào

| Tình huống | Workflow |
|---|---|
| Project chưa có blob storing Jarvis | [workflows/init.md](workflows/init.md) |
| Đã có một provider, thêm provider thứ hai | [workflows/add.md](workflows/add.md) |

## Quy tắc cốt lõi

- Đăng ký **keyed** `IBlobStoringService` — key `"FileSystem"` / `"MinIO"` (khớp `[FromKeyedServices("...")]`).
- `Configure` / `Configure` từ section `FileSystem`, `MinIO` trong appsettings.
- **Singleton** cho service (stateless client; `MinioService` tạo client trong ctor).
- Layer thường gặp: **Infrastructure** hoặc **Host** (composition root).
- Không commit `SecretKey` — dùng User Secrets / env.
- `Jarvis.BlobStoring.AwsS3` — **stub**, chưa dùng trong skill này.

## Packages

| PackageId | Version* | Khi nào |
|---|---|---|
| `Jarvis.BlobStoring` | 1.0.0 | Abstractions |
| `Jarvis.BlobStoring.FileSystem` | 1.0.0 | Lưu file local |
| `Jarvis.BlobStoring.MinIO` | 1.0.0 | S3-compatible object storage |

\*Xem csproj repo Jarvis.

## Providers (atomic)

| Provider | Path |
|---|---|
| FileSystem | [providers/filesystem/SKILL.md](providers/filesystem/SKILL.md) |
| MinIO | [providers/minio/SKILL.md](providers/minio/SKILL.md) |

## Templates

- [templates/program-setup.cs](templates/program-setup.cs) — extension đăng ký DI
- [templates/appsettings-blob.json](templates/appsettings-blob.json)
- [templates/blob-service-usage.cs](templates/blob-service-usage.cs) — inject keyed service

## Output bắt buộc

- PackageReference trên Host/Infrastructure
- `*BlobStoringExtension.cs` hoặc block trong `HostLayerExtension`
- `appsettings` sections `FileSystem` / `MinIO`
- Service/host inject `[FromKeyedServices("MinIO")]` hoặc `"FileSystem"` resolve được
- `dotnet build` thành công

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [hoangnh2412](https://github.com/hoangnh2412)
- **Source:** [hoangnh2412/ai-skills](https://github.com/hoangnh2412/ai-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-hoangnh2412-ai-skills-blobstoring-dotnet
- Seller: https://agentstack.voostack.com/s/hoangnh2412
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
