[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

configuring SL WCF

Posted on 2011-10-25
3
Medium Priority
?
348 Views
Last Modified: 2013-11-12
Hi Experts

Whenever i have had to publish/deploy a silverlight project to another server i had to go in to the service config file and change localhost to the server ip address manually of wcf, is there a way i can get it shipped without having to do this?

Thanks
0
Comment
Question by:razza_b
1 Comment
 
LVL 16

Accepted Solution

by:
Kalpesh Chhatrala earned 2000 total points
ID: 37049801
you can define your WebSerivce Address in Code Behind. Check below sample.

http://stackoverflow.com/questions/2059485/how-to-programatically-set-a-single-endpoint-for-a-wcf-service
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question