我可以从配置中交换 WCF 反序列化器吗?

发布于 2024-09-02 22:40:21 字数 274 浏览 5 评论 0原文

我遇到 WCF 反序列化问题,客户端挂起响应超过一分钟。

我想尝试交换不同的反序列化器,看看它是否会影响行为。

我可以从配置中换入/换出不同的序列化器(还有其他序列化器吗?),如果可以的话,我可以通过任何绑定来实现这一点吗?或者一旦导入服务引用,情况就会失控?

任何帮助表示赞赏!

I have a problem with WCF deserialization where the client hangs on the response for more than a minute.

I'd like to try to swap different deserializers and see if it affects the behavior.

Can I swap in/out different serializers (are there any others?) from configuration, and if so can I do that with any binding, or is that out of control once the service reference is imported?

Any help appreciated!

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

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

发布评论

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

评论(1

盗梦空间 2024-09-09 22:40:21

我可以换入/换出不同的
序列化器(还有其他的吗?)
来自配置

描述了如何在同一服务的两个不同端点上使用 XmlSerializer 和 DataContractSerializer。它并不完全将它们换入和换出,但可能足以满足您的测试。

Can I swap in/out different
serializers (are there any others?)
from configuration

This describes how to use the XmlSerializer and DataContractSerializer on two different endpoints for the same service. Its not exactly swapping them in and out but it might suffice for your testing.

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