Hello everyone!
I am using KendoUI Grid with OData WebApi and from a few weeks until now I am getting the URI too long exception. The root cause of this error is because one of my columns reference another table with a tree structure, and in order to filter this column the user can select the nodes in the tree to filter for. As the tree got bigger and he tried to select too many nodes the URI generated got too big.
My first shot was change web.config parameters to increase the size of the querystring but this did not solved the problem.
My second shot was to look how can I use POST verb in my OData read operations, then I ended up with the $batch processing and I changed my webapi to support it. The problem is that I cant make KendoUI work with it, I already changed the "batch" property to true but it keeps sending GET requests.
What can I do in this case? Does SignalR have this problem?
Reference:
http://www.iis.net/configreference/system.webserver/security/requestfiltering/requestlimits
https://msdn.microsoft.com/en-us/library/system.web.configuration.httpruntimesection.maxquerystringlength%28v=vs.110%29.aspx
http://www.odata.org/documentation/odata-version-3-0/batch-processing/
http://blogs.msdn.com/b/webdev/archive/2013/11/01/introducing-batch-support-in-web-api-and-web-api-odata.aspx