Tag Archives: InputFormatter

Import and Export CSV in ASP.NET Core

This article shows how to import and export csv data in an ASP.NET Core application. The InputFormatter and the OutputFormatter classes are used to convert the csv data to the C# model classes. Code: https://github.com/damienbod/AspNetCoreCsvImportExport 2019-09-14: Updated to ASP.NET Core 3.0 2019-02-15: Updated to ASP.NET Core 2.2 2018-07-09: Updated to ASP.NET Core 2.1 2017-10-29: Support […]

ASP.NET Core Using Protobuf Formatters

This article shows how to use and implement Protobuf as a custom InputFormatter and a custom OutputFormatter in ASP.NET Core. Protobuf can then be used in the HTTP requests and responses for serialization. Before ASP.NET Core, this was implemented in Web API using MediaFormatters. In ASP.NET Core, this has been split into IInputFormatter and IOutputFormatter. […]