Skip to content

Instantly share code, notes, and snippets.



Last active Jul 10, 2020
What would you like to do?
Part 4 - Startup.cs - 1
// Import Microsoft.AspNetCore.Mvc.NewtonsoftJson
public void ConfigureServices(IServiceCollection services)
services.AddControllers().AddNewtonsoftJson(options =>
options.SerializerSettings.Converters.Add(new EnumerationJsonConverter());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment