Skip to content

Instantly share code, notes, and snippets.

@MuriloMazzeu
Last active September 8, 2017 17:50
Show Gist options
  • Save MuriloMazzeu/72a7e179a5d4214e90d7d37cd6206dec to your computer and use it in GitHub Desktop.
Save MuriloMazzeu/72a7e179a5d4214e90d7d37cd6206dec to your computer and use it in GitHub Desktop.
WebAPI's Snippets
config.Formatters.JsonFormatter.SerializerSettings.PreserveReferencesHandling = Newtonsoft.Json.PreserveReferencesHandling.Objects;
config.Formatters.Remove(config.Formatters.XmlFormatter);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment