title: How to set JsonRequestBehavior.AllowGet with return JsonResult
body: <p>I am calling my asp.net mvc actionmethod as a JsonResult as a return type and return the list of data having 50000 racords atleast and want to set the size of ajax return as well and it is done as well.</p>
  
  <p>But when I return values it throw me an error :</p>
  
  <pre><code>This request has been blocked because sensitive information could be disclosed to third party web sites when this is used in a GET request. To allow GET requests, set JsonRequestBehavior to AllowGet.
  </code></pre>
  
  <p>My code:</p>
  
  <pre><code>return new JsonResult()
              {
                  Data = mydatalist,
                  MaxJsonLength = Int32.MaxValue
              };
  </code></pre>
  
  <p>Here I want to set JsonRequestBehavior.AllowGet but where and how don't know?</p>
  
  <p>Can any one have done this before thanks in advance.</p>