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.
从 .net 2.0 客户端访问 ado.net 数据服务有哪些选择?客户端应用程序必须在 Windows 2000 上运行,因此不能选择升级到 .net 3.5。
除了针对该服务编写我自己的代理之外,还有其他选择吗?
我希望在这种情况下,您必须构建自己的代理,构建自己的 http 请求等(可能通过WebClient)。值得庆幸的是,创建 REST 请求比原始 SOAP 容易得多,解析结果也是如此。
WebClient
但是,我想知道使用asmx服务(即 .NET 2.0 Web 服务)是否更实用。如果 ADO.NET 数据服务服务不受您的控制,也许在另一个服务器上托管一个 .NET 3.5 包装器,该服务器在asmx和 Astoria 之间进行填充?(即通过 2.0 Web 服务公开来自 REST 服务的数据)。
asmx