Microsoft.AspNet.Mvc.Formatters Namespace

namespace Microsoft.AspNet.Mvc.Formatters

Classes

class Microsoft.AspNet.Mvc.Formatters.FormatFilter
A filter which will use the format value in the route data or query string to set the content type on an Microsoft.AspNet.Mvc.ObjectResult returned from an action.
class Microsoft.AspNet.Mvc.Formatters.FormatterCollection<TFormatter>
Represents a collection of formatters.
class Microsoft.AspNet.Mvc.Formatters.FormatterMappings
Used to specify mapping between the URL Format and corresponding Microsoft.Net.Http.Headers.MediaTypeHeaderValue.
class Microsoft.AspNet.Mvc.Formatters.HttpNoContentOutputFormatter
Sets the status code to 204 if the content is null.
class Microsoft.AspNet.Mvc.Formatters.HttpNotAcceptableOutputFormatter
A formatter which selects itself when content-negotiation has failed and writes a 406 Not Acceptable response.
class Microsoft.AspNet.Mvc.Formatters.InputFormatter
Reads an object from the request body.
class Microsoft.AspNet.Mvc.Formatters.InputFormatterContext
A context object used by an input formatter for deserializing the request body into an object.
class Microsoft.AspNet.Mvc.Formatters.InputFormatterResult
Result of a Microsoft.AspNet.Mvc.Formatters.IInputFormatter.ReadAsync(Microsoft.AspNet.Mvc.Formatters.InputFormatterContext) operation.

class Microsoft.AspNet.Mvc.Formatters.JsonInputFormatter

class Microsoft.AspNet.Mvc.Formatters.JsonOutputFormatter
An output formatter that specializes in writing JSON content.

class Microsoft.AspNet.Mvc.Formatters.JsonPatchInputFormatter

class Microsoft.AspNet.Mvc.Formatters.OutputFormatter
Writes an object to the output stream.
class Microsoft.AspNet.Mvc.Formatters.OutputFormatterCanWriteContext
A context object for Microsoft.AspNet.Mvc.Formatters.IOutputFormatter.CanWriteResult(Microsoft.AspNet.Mvc.Formatters.OutputFormatterCanWriteContext).
class Microsoft.AspNet.Mvc.Formatters.OutputFormatterWriteContext
A context object for Microsoft.AspNet.Mvc.Formatters.IOutputFormatter.WriteAsync(Microsoft.AspNet.Mvc.Formatters.OutputFormatterWriteContext).
class Microsoft.AspNet.Mvc.Formatters.StreamOutputFormatter
Always copies the stream to the response, regardless of requested content type.
class Microsoft.AspNet.Mvc.Formatters.StringOutputFormatter
Always writes a string value to the response, regardless of requested content type.
class Microsoft.AspNet.Mvc.Formatters.XmlDataContractSerializerInputFormatter
This class handles deserialization of input XML data to strongly-typed objects using System.Runtime.Serialization.DataContractSerializer.
class Microsoft.AspNet.Mvc.Formatters.XmlDataContractSerializerOutputFormatter
This class handles serialization of objects to XML using System.Runtime.Serialization.DataContractSerializer
class Microsoft.AspNet.Mvc.Formatters.XmlSerializerInputFormatter
This class handles deserialization of input XML data to strongly-typed objects using System.Xml.Serialization.XmlSerializer
class Microsoft.AspNet.Mvc.Formatters.XmlSerializerOutputFormatter
This class handles serialization of objects to XML using System.Xml.Serialization.XmlSerializer

Interfaces

interface Microsoft.AspNet.Mvc.Formatters.IFormatFilter
A filter which produces a desired content type for the current request.
interface Microsoft.AspNet.Mvc.Formatters.IInputFormatter
Reads an object from the request body.
interface Microsoft.AspNet.Mvc.Formatters.IOutputFormatter
Writes an object to the output stream.