c# - WCF Parameter Value is null -


i'm trying test wcf rest service multiple parameter. 1 value passed parameter, reset null. wrong on code or fiddler. hope can point me right direction.

[operationcontract] [webinvoke(     bodystyle = webmessagebodystyle.wrapped,     method = "post",     requestformat = webmessageformat.json,     responseformat = webmessageformat.json,     uritemplate = "valid/{id}")] string validateuser(logindetail logindetail,string id);  public string validateuser(logindetail logindetail,string id) {     //your validation logic      return logindetail.username; //always null value } 

enter image description here

i got answered @ wcf forum. here answer link


Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -