C#

C# WPF ASP.NET API WinForm

C#

ASP.NET API 部署发布注意事项

阅读(66)评论(0)

一.需要转换为JSON格式在目录[App_Start]-[WebApiConfig.cs]文件中增加代码: #region 设置默认返回JSON格式 GlobalConfiguration.Configuration.Formatters.XmlFormatter.SupportedMediaTypes.Clear(); ...


24访

Copyright © 2020 www.fishwood.cn. All rights reserved.

陕ICP备19009956号-2