Skip to content

XML

XML serialization is available in the .NET implementation of TypedRest.

The XML serializer uses .NET's built-in System.Xml.Serialization.XmlSerializer:

var endpoint = new EntryEndpoint(
    new Uri("http://example.com/"),
    serializer: new XmlSerializer());

Content type

The serializer handles the following content types:

  • application/xml
  • text/xml