I've had a look and I can't seem to get this to work and I constantly get the error message that my json object is too large to pass to my controller.
The length of the string exceeds the value set on the maxJsonLength property.
So I have a json object that contains the base64 string of up to 3 images as well as some textual data.
I am trying to pass that object to the controller. It works fine if I do not include the images.
So I have tried, in web.config;
<system.web.extensions>
<scripting>
<webServices>
<jsonSerialization maxJsonLength="500000000"/>
</webServices>
</scripting>
</system.web.extensions>
as well as;
<add key="aspnet:MaxJsonDeserializerMembers" value="150000000" />
I have changed my controller from an ActionResult to a JsonResult.
I've read that I need to create my own json parser etc and a lot of the sites deal with passing data from the controller to the client.
I am trying to get a large amount of data from the client to the controller.
Any help here?