StreamingAPI is a very simple .Net 6 minimal API which demonstrates how to stream a large amount of data through a web api without consuming excessive memory.
The approch presented here can be helpful if you need for example to expose the content of a large file or database through an web api.