Custom IOutputFormatter for .NET 10 Web API that automatically serializes IEnumerable<T> to CSV when Accept: text/csv header is present.
serialization csv csharp dotnet aspnetcore web-api content-negotiation data-export custom-formatter output-formatter text-csv
-
Updated
Feb 17, 2026 - C#