Silverlight 4 supports the resolution of relative service addresses. Provided the Silverlight XAP package is hosted at, the following address resolve as indicated:

"../Service1/Service.asmx" resolves to “”

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!