I have a WCF application, written in VB.NET that takes a generic Dictionary(Of String, String) as one of the parameters.
When I pass in a Key/Value pair that has a backslash \ as one of the characters in the value, the client automatically changes the entire value to Nothing or in the XML it shows this:
<Value i:nil="true />
Is there some special way to escape backslashes when passing them in a string to a WCF service? As far as I know the backslash isn’t a reserved character in XML.
How are you calling your service? I’ve just tried this scenario (see code below), and the server prints the values correctly.