title: JSON, ASP.NET MVC - MaxJsonLength exception
body: <p>I am just trying to shift some comma separated numbers to the frontend:</p>
  
  <pre><code>[AcceptVerbs(HttpVerbs.Get)]
  public JsonResult GetSquares()
  {
   var result = new JsonResult();
   result.JsonRequestBehavior = JsonRequestBehavior.AllowGet;
  IList&lt;double&gt; list = new List&lt;double&gt;();
  ...
  result.Data = list;
  return result;
  }
  </code></pre>
  
  <p>This works fine as long as there are only a few numbers. Unfortunately, I have to shift lots of numbers occasionally and get a MaxJsonLength exception. I tried several suggestions to overcome this (add something to the web.config file etc.). Maybe I do not have to use JSON after all? However I still 'have to do something' with the numbers using javascript. I am using jquery's ajax stuff at the moment.</p>
  
  <p>Any suggestions welcome ...</p>