Silverlight 4 supports the resolution of relative service addresses. Provided the Silverlight XAP package is hosted at http://somesite.com/application/ClientBin/Application.xap, the following address resolve as indicated:
"../Service1/Service.asmx" resolves to “http://somesite.com/application/Service1/Service.asmx”
For you, CSWorks users out there, it means one good thing: no more ServiceReferences.ClientConfig hassle, see Running CSWorks demo applications from remote clients post for details. Now you can simply specify relative service addres as follows:
<endpoint address="../LiveDataWebService/Service.asmx" ...>
and your CSWorks application will work from any website you deploy it to. Switching to Silverlight 4 pays off!