解决netcore3.1 无法接收动态对象的问题
Use Newtonsoft.Json in an ASP.NET Core 3.0 MVC project
-
Install the Microsoft.AspNetCore.Mvc.NewtonsoftJson package.
-
Update
Startup.ConfigureServicesto callAddNewtonsoftJson.services.AddMvc().AddNewtonsoftJson();AddNewtonsoftJsonis compatible with the new MVC service registration methods:AddRazorPagesAddControllersWithViewsAddControllers

浙公网安备 33010602011771号