managedcode-storage

Featured

Use ManagedCode.Storage when a .NET application needs a provider-agnostic storage abstraction with explicit configuration, container selection, upload and download flows, and backend-specific integration kept. USE FOR: integrating ManagedCode.Storage into a .NET application; reviewing how a project abstracts file or object storage; deciding whether to centralize storage provider. DO NOT USE FOR: unrelated stacks; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.

AI & Automation 483 stars 36 forks Updated today MIT

Install

View on GitHub

Quality Score: 92/100

Stars 20%
89
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# ManagedCode.Storage ## Trigger On - integrating `ManagedCode.Storage` into a .NET application - reviewing how a project abstracts file or object storage - deciding whether to centralize storage provider differences behind one library - documenting upload, download, container, or blob-handling flows with ManagedCode.Storage ## Workflow 1. Identify the actual storage use case: - blob or file storage - provider abstraction across environments - app-service integration and configuration 2. Verify whether the project wants one storage contract instead of provider-specific SDK calls scattered across the codebase. 3. Keep application code dependent on the library abstraction, not directly on backend-specific storage SDKs unless a provider-only feature is truly required. 4. Centralize provider configuration, credentials, and container naming in composition-root code and typed settings. 5. Validate the real upload, download, existence-check, and deletion flows after wiring the library. ```mermaid flowchart LR A["Application service"] --> B["ManagedCode.Storage abstraction"] B --> C["Provider-specific storage implementation"] C --> D["Blob or object storage backend"] ``` ## Current Upstream Notes - `ManagedCode.Storage` `10.0.7` fixes Azure upload metadata. Upgrade all selected provider packages together, then verify Azure upload/download paths preserve the intended content type and custom metadata rather than relying on a successful byte upload alone. ## Deliv...

Details

Author
managedcode
Repository
managedcode/dotnet-skills
Created
6 months ago
Last Updated
today
Language
C#
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Featured

managedcode-communication

Use ManagedCode.Communication when a .NET application needs explicit result objects, structured errors, and predictable service or API boundaries instead of exception-driven control flow. USE FOR: integrating ManagedCode.Communication into services or APIs; replacing exception-driven result handling with explicit results; reviewing service boundaries that return. DO NOT USE FOR: unrelated stacks; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.

483 Updated today
managedcode
Code & Development Featured

managedcode-mimetypes

Use ManagedCode.MimeTypes when a .NET application needs consistent MIME type detection, extension mapping, and content-type decisions for uploads, downloads, or HTTP responses. USE FOR: integrating ManagedCode.MimeTypes into upload or download flows; mapping file extensions to content types in APIs or background processing; reviewing content-type. DO NOT USE FOR: unrelated stacks; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.

483 Updated today
managedcode
Code & Development Listed

securing-azure-sql-and-storage-with-managed-identity

Moves an Azure Functions app's RUNTIME data-plane auth off the stored SQL password and storage account key onto the compute's system-assigned managed identity — Entra token auth for Azure SQL and user-delegation SAS for Blob Storage. Ships flag-gated (default OFF, old paths byte-identical) so cutover is a no-op until flipped and rollback is one setting. Covers the Entra-admin + MI-DB-user + storage-RBAC one-time setup, the async user-delegation-key priming that SAS signing requires, and the bicep-resets-app-settings durability trap. Use when hardening a deployment off secrets, when a security review flags a stored SQL password / account key, or as the DEFAULT auth for any new Function App + SQL + Blob deployment.

1 Updated 1 weeks ago
alexpizarro