I have a linq query that has a result with 2110 records. The returned JSON from different REST ciients would only show an array of 2000 objects. I have set a higher maxJsonLength limit in <jsonSerialization/> in the web.config but that did not work.
public IQueryable<object> Get(){ var result=from x in context.xCollection where //conditions set here select new { //about 14 relatively short string properties set here }; //Logging at this point shows 2110 records return result; //the returned JSON (from the REST client) only has 2000 records }
Any ideas?