使用 HttpModule 的 WCF URL 重定向 [英] WCF URL Redirection using HttpModule
本文介绍了使用 HttpModule 的 WCF URL 重定向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将所有来自 Service1 的请求重定向到 Service2.
I want to redirect all the requests coming for Service1 to Service2.
我使用 HTTPModule 尝试了这个.但我没有运气.请提出任何方法来实现这一目标.
I tried this using HTTPModule. But I have no luck. Please suggest any way to achieve this.
非常感谢.
推荐答案
可以通过内置的 WCF RoutingService 能力.有一个很好的代码示例,展示了如何使用其各种功能.
A less code intensive way to redirecting calls can be done by the built-in WCF RoutingService capability. There is a good code sample that shows how to use its various features.
这篇关于使用 HttpModule 的 WCF URL 重定向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文