hi wcf champs.,
hmm...I have a problem..and seriously need a solution to get things done well..!!
Have developed a wcf Upload application,the wcf service is hosted on IIS..now,the endpoint address at the server is exposed at client(in app.config).If further the server ip changes to some other..then the address at the client must be changed..!right..ya
I did something to handle this but ,its another problem..!!.
Let me say what i have done and why does that give a problem..
WHAT HAVE I DONE TO SOLVE THE PROBLEM :-
*.*.The server ip is stored in a xml file.When the application runs,it picks up the server ip and changes it in Client.exe.config...
*.And if there is EndpointotFound exception at the client,it asks the admin to check the ip of the server.
*.The admin checks it and if the server ip is changed,the admin changes the ip in the xml file (where server ip is stored).
now let me know.."IS THIS A RIGHT APPROACH TO SOLVE MY PROBLEM" ..But then there is a problem!!let me share that with u..
THE PROBLEM IS :-