Multiple Service Address Configs in WCF Silverlight App
Posted
by CraigS
on Stack Overflow
See other posts from Stack Overflow
or by CraigS
Published on 2010-04-01T05:50:05Z
Indexed on
2010/04/01
5:53 UTC
Read the original article
Hit count: 319
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?
© Stack Overflow or respective owner