Namespace Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml
The Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml namespace contains both types and extension methods that complements the Cuemon.Extensions.Xml namespace while being an addition to the Microsoft.AspNetCore.Mvc namespace. Provides XML formatters for ASP.NET Core that offers same flexibility as the one provided by the JSON equivalent from Newtonsoft.
Availability: .NET 9 and .NET 8
Complements: Cuemon.Extensions.Xml namespace 📘
Extension Methods
| Type | Ext | Methods |
|---|---|---|
| HttpExceptionDescriptorResponseHandler | ⬇️ | AddXmlResponseHandler |
| IMvcBuilder | ⬇️ | AddXmlFormatters, AddXmlFormattersOptions |
| IMvcCoreBuilder | ⬇️ | AddXmlFormatters, AddXmlFormattersOptions |
Classes
MvcBuilderExtensions
Extension methods for the IMvcBuilder interface.
MvcCoreBuilderExtensions
Extension methods for the IMvcCoreBuilder interface.
XmlSerializationInputFormatter
This class handles deserialization of XML to objects using XmlFormatter.
XmlSerializationMvcOptionsSetup
A ConfigureOptions<TOptions> implementation which will add the XML serializer formatters to MvcOptions.
XmlSerializationOutputFormatter
This class handles serialization of objects to XML using XmlFormatter.