Routing WCF Data Services
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.
精彩评论