排除一个特定终结点的 WCF ServiceBehaviorExtension
我想排除自定义行为扩展,它需要我的一项服务的自定义标头。是否可以?我读到了有关RemoveBehaviorExtension 元素的内容,但没有提及在哪里使用它。
任何帮助表示赞赏!谢谢!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的,我之前创建了一个单独的端点行为,没有BehaviorExtensions 节点。但它失败了,当进一步检查时,这是一个超时异常,这仍然困扰着我。通过增加超时修改了外部客户端,并修改了我的服务以使端点具有单独的端点行为,问题得到了解决。谢谢!
Okay, i had earlier created a separate Endpoint behavior with out the BehaviorExtensions node. But it failed, when examined further it was a timeout exception which was troubling me still. Modified the external client with an increased timeout and modified my service to have the endpoint with a seperate Endpoint behavior the issue got resolved. Thanks!