ADO.NET Data Services - format parameter - xml / json
-
21-08-2019 - |
Question
Has the $format parameter been removed with the VS2008 SP1 release of ADO.NET Data Services. I try to use it and I get the error:
The query parameter '$format' begins with a system-reserved '$' character but is not recognized.
I think the support for the Atom stuff is very cool, but can you get "plain old xml" too?
OTHER TIPS
Pablo Castro has a clean solution: http://code.msdn.microsoft.com/DataServicesJSONP
It uses WCF behaviors to pick up $format=json
This blog post shows how to make the $format=json work using the ASP.NET stack: http://josheinstein.com/blog/index.php/2010/05/wcf-data-services-format-json/
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow