你的位置: 码友网首页 / 资讯源列表 / Returning XML from minimal APIs in .NET 6

关于[Returning XML from minimal APIs in .NET 6]的摘要:

In this post I show how you can return an XML response from a minimal API instead of the typical JSON response. I also look at ways to reduce the overhead introduced by MemoryStream in the implementation.

原文地址: https://andrewlock.net/returning-xml-from-minimal-apis-in-dotnet-6/

收录时间: 2022-07-06 浏览量: 1045 分类: .NET 6

| 0 收藏 | 0