I\'m developing some RESTful services in WCF 4.0. I\'ve got a method as below:
[OperationContract] [WebGet(UriTemplate = \"Test?format=XML&records={r
This seems to work in WCF 4.0. Just make sure to set your default value in your "Service1.svc.cs"
public string TestXml(string records) { if (records == null) records = "10"; //... rest of the code }