使用 WCF 与 Sharepoint Services WSS3.0 配合使用的优点?

发布于 2024-08-30 03:11:26 字数 253 浏览 5 评论 0原文

您对使用 WCF 与 WSS 而不是 SP Web 服务配合使用的实际经验有何看法或更好?

我正在为我们的软件编写一些自定义库,以使用共享点 Web 服务从 WSS 文档库存储和检索文件。我对 sp web 服务的性能并不完全满意——在很多情况下有点太慢了。

现在,微软声称 WCF 相对于远程处理有了重大改进,我正在寻找一种将 WCF 用于文件服务的好方法。

有什么建议或想法吗?也许是编码实践或博客的良好来源?

多谢, 瓦尔

what is your opinion or better off your practical experience using WCF to work with WSS instead of SP web services?

I am writing some custom library for our software to store and retrieve files from WSS document libraries using sharepoint web services. I am not entirely happy with the performance of the sp web services - a bit too slow in many cases.

Now, microsoft claims a significant improvements in WCF over remoting and I am looking into a good way to use WCF for my file services.

Any suggestions or ideas? Maybe a good source of coding practices or blogs?

Thanks a lot,
Val

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

快乐很简单 2024-09-06 03:11:26

SP Web 服务是使用 http 的 asmx 服务。

如果您创建自己的 WCF 服务,则可以使用 netTCP 绑定并获得性能提升。

然而,你获得的性能提升可能相对较小。您还需要承担创建 WCF 服务的额外工作以及您编写的服务中出现错误的风险。

我只会使用标准的 SP Web 服务,除非您有非常特殊的情况/要求。

The SP web services are asmx services which use http.

If you create your own WCF services, you could use netTCP binding and get a performance boost.

However, then performance boost that you get is probably relativity small. You also get the extra work of creating the WCF services and the risk of errors in services that you write.

I would just use the standard SP web services, unless you have a very special situation / requirement.

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