title: asp.net webservice return json type
body: <p>useing asp.net webservice with method : </p>
  
  <pre><code>[WebMethod(EnableSession = true)]
  [ScriptMethod(ResponseFormat = ResponseFormat.Json)]
  public List&lt;MyObject&gt; GetList()
  {
      ....return new List of MyObject{ x =  .., y = .. , z = ..};
  }
  </code></pre>
  
  <p>the client using that service is with JQuery Ajax call is working good </p>
  
  <pre><code>$.ajax({
          type: "POST",
          url: url,
          data: data == null ? "{}" : data,
          contentType: "application/json; charset=utf-8",
          dataType: "json",
   ..... and so on ... 
  </code></pre>
  
  <p>but with firebug I've notice that the response is :</p>
  
  <p><code>{"d":[{"__type":"Common.MyObject","z":"2000","x":1500,"y":1000,"a":"0"},{"__type":"Common.MyObject","z":"2000","x":1455,"y":1199.57,"a":"1"}
  ...... and so on 
  ]}</code></p>
  
  <p>1) question is why do I need this ""__type":"Common.MyObject" ?<br>
  2) I want to remove it so the response will be smaller , how can I do it ?</p>