How to insert bulk (20,000) json data post in ajax jquery
I need Bulk (20,000 Records) json data to post Controller.
I Get This Type Of Error
Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property. Parameter name: input
$.ajax({
type: ‘POST’,
url: baseurl + ‘Masters/AuthMapping/MultiBpsave’,
dataType: “json”,
data: JSON.stringify(BPR[0]),
contentType: “application/json; charset=utf-8”,
async: false,
success: function (data) {
},});
Read more here: Source link