Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created July 4, 2017 01:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcomartin/0e81f35e4590d83ec6d770679da0a908 to your computer and use it in GitHub Desktop.
Save dcomartin/0e81f35e4590d83ec6d770679da0a908 to your computer and use it in GitHub Desktop.
public void ConfigureServices(IServiceCollection services)
{
// Add framework services.
services.AddMvc()
.AddMvcOptions(options =>
{
options.OutputFormatters.Add(new PascalCaseJsonProfileFormatter());
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment