When I try to have this class serialized I get a CommunicationException.
Do I need to use any specific CollectionDataContract markup to get this working?
[DataContract()]
public class MyClass
{
[DataMember()]
public Dictionary<string, List<string>> dictionary = new Dictionary<string, List<string>>();
}
This should just work (see examples below). What’s the full exception which you get?