Soap server address in silverlight

In my silverlight light apps im normally connecting to a ASMX or WCF web service.

I was wonder what is the best way of holding the url in the app of where the soap client should be looking at.

This is fine in debug because it just sort of knows, but in release and depending where its using an ip or it swaps production servers i keep getting tripped up.

I would love there to be some sort of client config bit like web config


Your service endpoints can go in to a ServiceReferences.ClientConfig file. This is then an XML file and can be changed at any point as needed; deployment, etc...

You can have client configuration by using Isolated Storage.

You work with Key/Value pairs as in this example from the linked page:

// Create an instance of IsolatedStorageSettings.
private IsolatedStorageSettings userSettings =

// Add a key and its value.
userSettings.Add("userImage", "BlueHills.jpg");

// Remove the setting.

So you can have the value as your URL - just choose a suitable key.

Need Your Help

How to enable math in sphinx?

python math latex python-sphinx

I am using sphinx with the pngmath extension to document my code that has a lot of mathematical expressions. Doing that in a *.rst file is working just fine.

Run a maven test-jar file for GroovyTestCase (junit)

maven junit jar pom.xml noclassdeffounderror

I have a maven project that contains 30 GroovyTestCase 'junit' test classes. I was able to generate the test-jar file that contains all the test classes, using

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.