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

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

php - Using grpc in Laravel, "Class 'Grpc\ChannelCredentials' not found." -

scikit learn - python sklearn KDTree with haversine distance -