I am sending json like this { "NumericField" : "abc" } property is declared in object DataRequest like.... [DataMember] public int NumericField;
Controller recieves data with [FromBody] DataRequest request.
It is quietly setting value to 0.
There are other fields that are set properly, but why no exception..
Thanks