Dynamically determine server to use Web Service
.NET (Core and Framework)
2
Posts
2
Posters
0
Views
1
Watching
-
Does anyone know of a way to dynamically determine which server to use a web service from. I basically want to be able to change a registry setting and switch web servers should one fail. Think .NET Reflection is likely to a part of the solution?? Thanks in advance, Andrew
-
Does anyone know of a way to dynamically determine which server to use a web service from. I basically want to be able to change a registry setting and switch web servers should one fail. Think .NET Reflection is likely to a part of the solution?? Thanks in advance, Andrew
There is a Url property to a Web Service. localhost.Service1 tService = new localhost.Service1(); tService.Url = "http://www.GoThere.com/Service1/";