OutputFormatter

Building Custom Formatters for .Net Core (Yaml Formatters)

Quite recently I got myself introduced to .net core’s formatters. In short, what formatters do is format your response and request in your preferred data formats. For example, Json formatters, if used would format your response (returned value from controller's action) and request (value passed as a parameter to the controller) in Json. Same goes for the XML and other formatters. .Net Core gives you some formatters out of the box. This official documentation link described them briefly https://docs.microsoft.com/en-us/aspnet/core/mvc/models/formatting But…

Keep reading