I\'m trying the following : A model with a dictionary inside send it on the first ajax request then take the result serialize it again and send it back to the controller. >
Using ASP.NET 5 and MVC 6 straight out of the box I'm doing this:
jSON:
{ "Name": "somename", "D": { "a": "b", "b": "c", "c": "d" } }
Controller:
[HttpPost] public void Post([FromBody]Dictionary dictionary) { }
This is what shows up when it comes through (Name and D are the keys):