Table of Contents

Namespace Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml

Assembly: Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml.dll

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 8, .NET 7 and .NET 6

Complements: Cuemon.Extensions.Xml namespace 📘

Extension Methods

Type Ext Methods
HttpExceptionDescriptorResponseHandler ⬇️ AddXmlResponseHandler
IMvcBuilder ⬇️ AddXmlFormatters, AddXmlFormattersOptions
IMvcCoreBuilder ⬇️ AddXmlFormatters, AddXmlFormattersOptions

Classes

HttpExceptionDescriptorResponseHandlerExtensions

Extension methods for the HttpExceptionDescriptorResponseHandler class.

MvcBuilderExtensions

Extension methods for the Microsoft.Extensions.DependencyInjection.IMvcBuilder interface.

MvcCoreBuilderExtensions

Extension methods for the Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder interface.

XmlSerializationInputFormatter

This class handles deserialization of XML to objects using XmlFormatter.

XmlSerializationMvcOptionsSetup

A Microsoft.Extensions.Options.ConfigureOptions<TOptions> implementation which will add the XML serializer formatters to Microsoft.AspNetCore.Mvc.MvcOptions.

XmlSerializationOutputFormatter

This class handles serialization of objects to XML using XmlFormatter.