79267026

Date: 2024-12-10 04:44:27
Score: 1
Natty:
Report link

Update your Program.cs or Startup.cs to add Newtonsoft.Json support

builder.Services.AddControllers()
.AddNewtonsoftJson(options =>
{
    options.SerializerSettings.ContractResolver = new 
    CamelCasePropertyNamesContractResolver();
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Raza Sarwar