title: Values coming from the Web API 2 to the client are null after Serializing a Data transfer Object
body: <p>Class implementation</p>
  <pre><code>[Serializable]
  public class Apple
  {
      
      string name{get;set;}
  
  
  }
  </code></pre>
  <p>this resides in the server side and from Web API 2 and is returning an apple object. If I do not use <code>serializable</code> attribute I am getting the correct values from the client's end but if I use Serialized I am getting null for the name . how may I fix this issue ?</p>