Windows 窗体 .Net 1.1 &世界碳纤维

发布于 2024-09-26 22:14:21 字数 190 浏览 0 评论 0原文

我的任务是查明是否有可能拥有一个可以被 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

小…楫夜泊 2024-10-03 22:14:21

我自己没有任何经验,但我在 Rob Windsor 的博客 表明这是可能的。

这又指向一篇关于带有 WCF 服务的 ASMX 客户端 并指出您需要考虑的进一步事项。

MSDN 文章是一个通用示例,

...演示如何使用 Windows Communication Foundation (WCF) 创建服务,然后从非 WCF 客户端(例如 ASMX 客户端)访问该服务。

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

... demonstrates how to create a service using Windows Communication Foundation (WCF) and then access the service from a non-WCF client, such as an ASMX client.

自由范儿 2024-10-03 22:14:21

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?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文