[DataContract] public class Emp { [DataMember] public Guid Eid {get;set;} [DataMember] public string Ename{get;set;} [DataMember] public DateTime CreatedDate{get;set;} }
<Eid>00000000-0000-0000-0000-000000000000</Eid> <Ename>John</Ename> <CreatedDate>0001-01-01T00:00:00</CreatedDate> When I decorate my OperationContract like this [OperationContract] [WebInvoke(UriTemplate = "GetEName/?id={eid}", Method= "GET",ResponseFormat=WebMessageFormat.Json)] Emp GetName(Guid eid);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)