开发者

Routing WCF Data Services

开发者 https://www.devze.com 2023-03-14 23:13 出处:网络
I could able to route the calls to WCF SO开发者_C百科AP services using Routing Services in .NET 4.0

I could able to route the calls to WCF SO开发者_C百科AP services using Routing Services in .NET 4.0 In the same way I need to route the request to WCF Data Services calls from one server to other server. Is it possible to achieve it using ASP.NET Routing module?


With REST based services, you're relying on "raw" HTTP as your transport. A simple "router" could accomplish this by performing these steps:

  • Capture the HTTP request
  • Determine the target service and "redirect" the HTTP request to it
  • Capture the HTTP response
  • Transmit the contents of the response to the client

The ASP.NET Routing module could be made to work this way but it wasn't intended for that.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号