In my interface I have declared this.
[OperationContract]
[WebGet]
String GetStuff(String beep, String boop = "too lazy to type");
I implemented it as follows.
String GetStuff(String beep, String boop = "too lazy to type") { ... }
It compiles and uploads as my WCF service. However, when I used it as a web reference and try to execute the code below, I get the compiler whining and weeping about no method with signature of a single parameter. The last line is the problem.
How can I then be too lazy to type by default?
ServiceClient client = new ServiceClient();
client.GetStuff("blobb", "not lazy");
client.GetStuff("blobb");