Is there any way to redirect to a controller and pass along a JSON object as a POST method? I am able to achieve this with GET method using Response.Redirect("../ControllerName/ActionName?parameter=" + jsonQuery, true);
but then GET methods have a limit on query string length. After certain length it will throw an exception.
Also any alternative methods would be very helpful. What I am trying to achieve is the following.
I have an application that WebForms and MVC runs side by side. I have a page on webforms and a report button on that page. When Report button is clicked I need to put together some data on the code behind (aspx.cs file) and pass it to my controller and from there I will populate my model and pass it to my view.
I am open to any suggestions and any alternative methods.