JSON serializer Not Working After Upgrade To 3.6.2

前端 未结 1 1189
太阳男子
太阳男子 2020-12-22 04:00

I\'m using ASP.NET Boilerplate for one of my application. The application was on 3.5.0 version of Abp and the template was ASP.NET Core with MVC. I recently upgraded it to 3

1条回答
  •  星月不相逢
    2020-12-22 04:16

    Set it in Startup.cs > ConfigureServices() method

    services.PostConfigure(options =>
    {
        options.SerializerSettings.ContractResolver = new DefaultContractResolver();
    });
    

    0 讨论(0)
提交回复
热议问题