Register SystemTextJsonResultExecutor (#11247)
Register SystemTextJsonResultExecutor as part of MVC core services so that JsonResult works without Newtonsoft.Json. Addresses #11246.
显示
- src/Mvc/Mvc.Core/src/DependencyInjection/MvcCoreServiceCollectionExtensions.cs 1 个添加, 0 个删除...DependencyInjection/MvcCoreServiceCollectionExtensions.cs
- src/Mvc/test/Mvc.FunctionalTests/JsonResultWithNewtonsoftJsonTest.cs 19 个添加, 10 个删除...t/Mvc.FunctionalTests/JsonResultWithNewtonsoftJsonTest.cs
- src/Mvc/test/Mvc.FunctionalTests/JsonResultWithSystemTextJsonTest.cs 137 个添加, 0 个删除...t/Mvc.FunctionalTests/JsonResultWithSystemTextJsonTest.cs
- src/Mvc/test/WebSites/BasicWebSite/Controllers/JsonResultWithNewtonsoftJsonController.cs 3 个添加, 3 个删除...ite/Controllers/JsonResultWithNewtonsoftJsonController.cs
- src/Mvc/test/WebSites/BasicWebSite/Controllers/JsonResultWithSystemTextJsonController.cs 45 个添加, 0 个删除...ite/Controllers/JsonResultWithSystemTextJsonController.cs
- src/Mvc/test/WebSites/BasicWebSite/StartupWithNewtonsoftJson.cs 29 个添加, 0 个删除...c/test/WebSites/BasicWebSite/StartupWithNewtonsoftJson.cs
- src/Mvc/test/WebSites/BasicWebSite/StartupWithSystemTextJson.cs 28 个添加, 0 个删除...c/test/WebSites/BasicWebSite/StartupWithSystemTextJson.cs
想要评论请 注册 或 登录