Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Consider only adding the JSON formatter by default #1765

@danroth27

Description

@danroth27

Not everyone wants XML support for their Web APIs. In general it is better to add something than to have to remove it. Should we only have the JSON formatter by default? Should we factor out the XML support into its own package?

As an example of when having XML enabled by default causes problems consider this StackOverflow thread where a bunch of folks would prefer to see JSON by default when using Chrome to test their Web API:
http://stackoverflow.com/questions/9847564/how-do-i-get-asp-net-web-api-to-return-json-instead-of-xml-using-chrome.

See further discussion here: dotnet/aspnetcore#245.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions