Dynamic Endpoint question

Dynamic Endpoint question

Old forum URL: forums.lhotka.net/forums/t/8831.aspx


tuan nguyen posted on Thursday, April 22, 2010

Hello,

we have an environement where we're running csla client through wcf web service defined in app.config file.  my question is , is there anything i can pass in address to the endpoint through code instead? i am trying to have the endpoint retrieved from a web service everytime the application start , that way we can dynamically switch client from 1 server to another (a back up server while the main one is down for maintenance for example).  and possibly add some load balancing logic running multiple server.

thanks

 

 

RockfordLhotka replied on Thursday, April 22, 2010

See the

How can I have multiple configurations or servers for the data portal?

topic in the data portal FAQ.

Though if you really want load balancing you'll be better off putting a router appliance in front of your web/app servers - that'll work far better and more reliably than trying to roll some half-baked thing in your own code (been there, done that, got the t-shirt...)

tuan nguyen replied on Friday, April 23, 2010

thank you , i'll take a look into that

 

Copyright (c) Marimer LLC