Windows 窗体 .Net 1.1 &世界碳纤维
我的任务是查明是否有可能拥有一个可以被 Windows .Net 1.1 应用程序以及较新的 Web 应用程序和一个移动应用程序挂钩的 WCF 服务。
我已经阅读了大量有关该主题的文章,但我对 winforms 或 2.0 之前的 .net 框架几乎没有任何经验。
任何帮助将不胜感激。
谢谢,
詹姆斯
I've been tasked with finding out if it's possible to have a WCF service that can be hooked into by a Windows .Net 1.1 application, as well as newer web applications and one mobile app.
I've done a fair bit of reading on the subject but I've got next to no experience on winforms or the .net framework prior to 2.0.
Any help would be appreciated.
Thanks,
James
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我自己没有任何经验,但我在 Rob Windsor 的博客 表明这是可能的。
这又指向一篇关于带有 WCF 服务的 ASMX 客户端 并指出您需要考虑的进一步事项。
MSDN 文章是一个通用示例,
I don't have any experience of this myself, but I've found a post on Rob Windsor's Weblog which indicates that it is possible.
This, in turn, points to an MSDN article on ASMX Client with a WCF Service and points out a further thing you need to consider.
The MSDN article is a general sample that
WCF 至少需要 Framework 3.0。
但是 WCF basicHttpBinding 是 SOAP 1.1,ASMX 也是 SOAP 1.1
因此,您的 .net 1.1 客户端可以使用 WCF basicHttpBinding 服务,就像它是标准 Web 服务一样。
另请参阅:WCF 服务而不是 ASMX Web 服务?
WCF requires minimum Framework 3.0.
But WCF basicHttpBinding is SOAP 1.1, ASMX is also SOAP 1.1
So your .net 1.1 client can use a WCF basicHttpBinding service as if it was a standard web service.
See also: WCF Service instead of ASMX Web Service?