Geeks With Blogs
Tim Huffam Dotting the I and crossing the T of I.T.

If your Silverlight app references services, the endpoints to these services are stored within a config file within the xap bundle - which is usually deployed as .xap file within the ClientBin dir of your web app.

To change the end point urls:
1) Rename the xap file (eg within E:\Demos\MySilverlightApp.Web\ClientBin) to .zip. 
2) Unzip it
3) Edit the ServiceReferences.ClientConfig file (to update the endpoint url) and save it.
4) Recreate the zip file
5) Rename the .zip file as .xap

That's it.

Posted on Sunday, January 8, 2012 8:17 PM C# .NET , ASP.NET , Web Development, JavaScript & CSS , WPF & Silverlight | Back to top


Comments on this post: How to change the endpoint url of services that Silverlight clients use.

# re: How to change the endpoint url of services that Silverlight clients use.
Requesting Gravatar...
Thank you.I am very helpful in this site.All thinks is a full of information.like a supersonic manner.
Left by Ghana web on Jan 08, 2012 10:04 PM

# re: How to change the endpoint url of services that Silverlight clients use.
Requesting Gravatar...
Tim, I have read a few of your entries. I like the succinct way you offer the help. You include the necessary steps. A lot of folks confuse you with other steps, or leaving out crucial information regarding a step. Thanks.
Left by Hutto Electricity on Feb 22, 2012 9:37 PM

# re: How to change the endpoint url of services that Silverlight clients use.
Requesting Gravatar...
It will be this approach first click here. I've discovered certain really fundamental things against your webpage. It is always excellent to discover that individuals get in truth adored and pointed out with the blog page. Anticipating when it comes to further superior websites from people today. Enjoy it
Left by Instagram For Android on Apr 11, 2012 4:28 AM

# re: How to change the endpoint url of services that Silverlight clients use.
Requesting Gravatar...
Nice to see your blog ^^
Left by Tai facebook on Oct 27, 2012 1:33 AM

# re: How to change the endpoint url of services that Silverlight clients use.
Requesting Gravatar...
Thanks for the tip, I will test this out
Left by Laura on Nov 07, 2012 9:52 AM

# re: How to change the endpoint url of services that Silverlight clients use.
Requesting Gravatar...
what is silverlight different flash???
Left by tai facebook on Nov 20, 2012 2:19 AM

# re: How to change the endpoint url of services that Silverlight clients use.
Requesting Gravatar...
nice post and a good site
Left by tai opera mini on Nov 23, 2012 4:18 AM

# re: How to change the endpoint url of services that Silverlight clients use.
Requesting Gravatar...
Great, thanks for the tipp. This helped me with my Silverlight.
Left by Lucy on Feb 06, 2013 10:57 AM

# re: How to change the endpoint url of services that Silverlight clients use.
Requesting Gravatar...
worked great with my silverlight project, many thanks
Left by Lisa on Feb 24, 2013 11:48 AM

# re: How to change the endpoint url of services that Silverlight clients use.
Requesting Gravatar...
Excellent, Thanks
Left by Francisco on Mar 01, 2013 7:48 AM

Your comment:
 (will show your gravatar)


Copyright © Tim Huffam | Powered by: GeeksWithBlogs.net