IOutput Formatters in ASP.NET Core make it easy to format responses differently based on the mime types specified in the request’s Accept header. In this episode, we create a Csv Output Formatter using CsvHelper.
Output Formatters: https://docs.microsoft.com/aspnet/core/web-api/advanced/custom-formatters
CsvHelper: https://joshclose.github.io/CsvHelper/
Sample Repo: https://github.com/AspNetMonsters/EP204_CsvOutputFomatter