Multiple Service Address Configs in WCF Silverlight App
- by CraigS
My team is building our first significant Silverlight application, using a 3 layered architecture and WCF. We have developed about 10 separate WCF services in the middle layer so far, and this number is only going to grow.
Generally, the presentation layer (ie. the Silverlight app) is pointing to the services as hosted on our dev server. However, there are times when I want it to access the services from localhost - ie. the developers machine.
Is there an easy way to change where the presentation layer is looking for the services? Is there some way of easily switching between options here?