datacontract

Is there any way to override what string value my custom type gets converted to when serializing via DataContract?

In my music/rhythm game, I using serialization in order to save user-created simfiles (think music tabs or notecharts). Nothing too earth-shattering there. But, I'm using a DataContract in order to perform the serialization, because: 1) I need private and protected fields serialized as well. I don't care if they're visible, mainly due t...

DataContract XSD issue

I am wanting to validate a DataContract (long story short) Here is my DataContract: [DataContract(Name = User.Root, Namespace = "http://mysoft.com/schemas/registeruser.xsd")] public class RegisterUser { [DataMember(Name = User.EmailAddress)] public string EmailAddress { get; set; } [DataMember(Name = User.UserName)]...