We have a failover site to host our web service for a company mobile app if our main site goes down. To implement support for it, I coded something like this:
Try
ws.Login(username, pwd)
Catch
ws.Url = Config.GetSetting("backupUrl")
ws.Login(username, pwd)
End Try
See any hazards Thanks.

failover to backup web service
oysts
redhot2006
DRP solution is usually a multi-tiered effort - moving to a remote site is usually only done when you have a catastrophy - because of issues like data synchronization and freshness -Even though it depends on your particular business, you would probably find that you cannot synchronize the whole data between the two sites at the same level of synchronization
You may still want to add NLB or other clustering solution on your "main" site and handle the rerouting of services outside your code in cases of a site fail-over
Arnon
JNG
Byron_Black
simsod
Why have a 'backup' service when you could load balance 2 or more servers and therefore not have to worry about fail over servers from a code perspective.
HTH
Ollie Riches
ggolub