Just want to share this in case anyone else runs into it. When a Kendo UI grid is bound to a SignalR datasource and Batch = true for that datasource, the server will begin responding with the following during create/update/destroy method calls:
This is because the automatically generated JSON is in an incorrect format to bind to your hub methods.
Example hub method:
When the JSON for create/update/destroy is generated, it is something like this:
If you look closely, the "A" property in the JSON starts with a "[", which indicates an array, even though there is NOT an array of models. ASP.NET MVC SignalR does not support a call with the "data" being an array (must be an object or basic type) and the following exception is thrown:
I found a fix for this. Simply add this function and wire it up to the parameterMap property for your DataSource:
Hope this helps someone else so that they don't have to figure it out the hard way.