ASP.NET page working as webservice router
-
Hi We have a number of webservice methods that are currently running on the same server. Due to increased load, we would like to implement some kind of routing in order to spread the work on several servers. Our idea is to put in sort of a middle layer, i.e. we want to let all the client programs call the same webmethods and then, inside the methods, do some routing. The routing must transfer the calls to other webmethods, which are running on several servers. Our problem is how to implement the router. One idea could be to simply create more webmethods, but we want to go more lowlevel in order to gain some performance. We have therefore been trying to create an asp.net webpage, which the clients will call while thinking it's webmethods. In the asp.net codebehind, we want to read the httprequest and then use it to create calls to webmethods on the servers. After the webmethods return, we want to write a httpresponse and then throw it to the client. Is our idea possible? And does any of you have an idea about how to implement it? We are especially interested in a way to let the client think our asp.net page is a webmethod. Thanks, Mads