#shorts
.NET 7 allows you to upload files with Minimal APIs. This is because it supports the IFormFile and IFormFileCollection types.
A POST endpoint is created that passes in the IFormFile type as a parameter. From there, it opens up a stream with a filename, and copies it up to the server.