Skip to content

Instantly share code, notes, and snippets.

David De Sloovere DavidDeSloovere

Block or report user

Report or block DavidDeSloovere

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
DavidDeSloovere / WebApiConfigRemoveXmlFormatter.cs
Last active Aug 29, 2015 — forked from beyond-code-github/WebApiConfig.cs
Remove the XML formatter so content is always returned as JSON.
View WebApiConfigRemoveXmlFormatter.cs
public static class WebApiConfig
public static void Register(HttpConfiguration config)
var xmlFormatter = config.Formatters.XmlFormatter;
You can’t perform that action at this time.