Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图构建一个服务,以响应来自具有 C# 中的 XML 文档的应用程序的 XML 请求。
在创建了一个接收参数的 asmx 服务后,我发现应用程序(这是一个黑盒子,我现在才知道发送的数据格式和需要接收的数据)正在发送 XML 有效负载。
谷歌只是给我提示,我不确定我应该如何实施这项服务。听起来我应该创建一个 ReSTful 服务吗?XML Payload 是作为流而不是参数传递的吗?
我会改为使用 WCF 构建解决方案;以 MSDN 上的这篇文章为起点。