webservice alias for localhost

  • Thread starter Thread starter Russell Todd via .NET 247
  • Start date Start date
R

Russell Todd via .NET 247

(Type your message here)
How would you create an alias in the code so that when you move from localhost to web host you don't have to do change the code 25 times but only have to do it once?

I have localhost all over by code
 
Put an entry in your hosts file that points the web service name to
127.0.0.1 and put that in your code.


Russell Todd via .NET 247 said:
(Type your message here)
How would you create an alias in the code so that when you move from
localhost to web host you don't have to do change the code 25 times but only
have to do it once?
 
Back
Top