donderdag, februari 09, 2006

 

Web Service URL should be a config setting --- it already is!

During today's webcast on web services (Wed Feb 8), there was a question related to moving your web service from your dev box to the production box. When the web service moves, the URL will change, so what's the best way to protect your client code from this predictable change? We shouldn't need to re-reference and recompile the client app just because the web service moved. The answer of course is that the URL should be a .config setting. The detail I forgot was exactly what property to set at run-time after you read the URL from the .config file.

http://pluralsight.com/blogs/drjoe/archive/2006/02/08/18684.aspx

by: Joe Hummel

Comments: Een reactie plaatsen

Links to this post:

Een link maken



<< Home