Dynamically setting WCF endpoint

Posted by Matt on Stack Overflow See other posts from Stack Overflow or by Matt
Published on 2010-06-05T23:17:54Z Indexed on 2010/06/05 23:22 UTC
Read the original article Hit count: 231

Filed under:
|
|

Ive just started using WCF with silverlight and its working fine. But one thing that is bugging me is the address of the .svc. Why is it statically set in the .config? Would it be possible to set it when creating an instance of the proxy class? And if so, is there a way to set it to the current address? Our software will be deployed on many different domain and we cant change the config every time. The svc will always be in the same domain as the silverlight page. Thanks.

© Stack Overflow or respective owner

Related posts about wcf

Related posts about Silverlight