摘要: Program.cs .net 8.0已经内置了XML解析器,所以直接在services.AddControllers()后调用AddXmlSerializerFormatters()即可: services.AddControllers().AddXmlSerializerFormatters() 阅读全文
posted @ 2024-10-19 10:58 南山有榛 阅读(54) 评论(0) 推荐(0)