concept xml datum in category asp.net

appears as: XML data
ASP.NET Core in Action

This is an excerpt from Manning's book ASP.NET Core in Action.

You’ll also learn how to format the API models returned by your action methods using content negotiation, to ensure you generate a response that the calling client can understand. As part of this, you’ll learn how to add support for additional format types, such as XML, so that you can both generate XML responses and receive XML data POSTed to your app.

There was a time, however, when XML was king. It’s still used for configuration (good old MSBuild and .csproj files) and many communication protocols (SOAP, RSS). Consequently, it’s quite likely you’ll need to be able to accept XML data to a Web API action at some point.

By default, MvcMiddleware only accepts POST data in JSON format. In order to be able to accept XML data and have it bind automatically to your models, you’ll need additional services.