Building JSON,XML REST API using WCF services
19 Aug 2010[ServiceContract]public interface IFetchChildItems{[OperationContract][WebInvoke(Method = "GET",ResponseFormat = WebMessageFormat,BodyStyle = WebMessageBodyStyle.Wrapped,UriTemplate = "{ID}/{Filter}")]void DoWork(int ID, string Filter);}
via gtrifonov.com