Skip to content
M

minimal-api-file-upload

File upload endpoints in ASP.NET minimal APIs (.NET 8+)

by dotnetFree

#4342in AI Skills
0In stores

Description

minimal-api-file-upload is an agent skill from the dotnet/skills collection for building file upload endpoints in ASP.NET Core minimal APIs…

Highlights

  • Adds IFormFile and IFormFileCollection upload endpoints
  • Size limits and content type validation
  • Streaming guidance for large files
  • Requires .NET 8 or later
  • Install with npx skills add

Ratings & Reviews

No ratings yet

Be the first to rate minimal-api-file-upload.

People also visit

A

aspnet-minimal-api-openapi

ASP.NET Minimal API endpoints

AI Skills
Get
O

openai/aspnet-core

Build, review, and architect ASP.NET Core apps (Blazor, MVC, Minimal APIs, etc.)

AI Skills
Get
M

minimal-api

.NET 10 minimal APIs — the default for building HTTP endpoints

AI Skills
Get
D

dotnet-core-expert

Building .NET 8 applications

AI Skills
Get
U

upload-insecure-files

Insecure file upload playbook

AI Skills
Get
I

implementing-ui-bundle-file-upload

MUST activate when the project contains a uiBundles/*/src/ directory

AI Skills
Get

minimal-api-file-upload FAQ

What does this skill do?

It helps an AI agent write file upload endpoints in ASP.NET Core minimal APIs, handling IFormFile or IFormFileCollection parameters with size limits and type checks.

What inputs does it need?

The file parameters and the maximum file or request size are required. Allowed content types or extensions are optional.

When should I not use it?

For MVC controllers, where [FromForm] IFormFile works directly, for plain JSON bodies, and for files over 1GB, where the skill suggests streaming with MultipartReader.

How do I install it?

Run npx skills add https://github.com/dotnet/skills --skill minimal-api-file-upload. It requires .NET 8 or later.

What are its security audit results?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best minimal-api-file-upload alternatives?

Popular alternatives to minimal-api-file-upload include aspnet-minimal-api-openapi, openai/aspnet-core and minimal-api. See all minimal-api-file-upload alternatives

Developer Stuff

Badges