同一进程内的父子命名管道 WCF 服务问题

发布于 2024-10-19 05:12:45 字数 158 浏览 10 评论 0原文

当我在同一进程中托管两个命名管道 WCF 服务并且其中一个与另一个进行通信时,我遇到了一个奇怪的问题。其中一项服务是父单例,它持有多个子会话实例的代理。我使用命名管道端点在进程启动时托管它们。一切正常,但是当我在这两个服务上启用模拟时,我在父子代理创建中遇到端点未找到异常。知道为什么模仿会导致失败吗?

I'm having a strange issue when I host two named pipe WCF services within the same process with one communicating with the other. One of the services is a parent singleton that holds a proxy to multiple child persession instances. I'm hosting them both on process startup using named pipe end points. Everything works fine but when I enabled impersonation on both of the services I get an endpoint not found exception in the parent to child proxy creation. Any idea why impersonation would be causing this to fail?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文