In my interface I have declared this.
[OperationContract] [WebGet] String GetStuff(String beep, String boop = \"too lazy to type\");
I impl
You can do it like this:
[DataContract] public class GetStuffParams { [DataMember] string beep {get; set; } [DataMember] string boop {get; set;} public GetStuffParams() { boop = "too lazy to type"; } } [OperationContract] [WebGet] String GetStuff(GetStuffParams stuffParams);