In our dev environment we reference WcfSlPortal.svc using http://localhost:12345/WcfSlPortal.svc in our ServiceReferences.ClientConfig file, however in our pre-production environment we might use http://test.server.com/path/WcfSlPortal.svc
Each time we deploy to the pre-production environment we have to unzip the xap file, update the ServiceReferences.ClientConfig file and then re-zip it.
Is there a better way to do this? Can we programatically set the address of the WcfSlPortal.svc instead of using the address in the SeviceReferences.ClientConfig file?
You can set the URL programmatically by setting the Csla.DataPortalClient.WcfProxy.DefaultUrl property.
Copyright (c) Marimer LLC