使用VS2008 SP1版本的ADO.NET Data Services刪除了$ format參數。我嘗試使用它,我得到的錯誤:ADO.NET數據服務 - 格式參數 - xml/json
The query parameter '$format' begins with a system-reserved '$' character but is not recognized.
我認爲對於凌動東西的支持是非常酷的,但你可以得到「純老XML」嗎?
使用VS2008 SP1版本的ADO.NET Data Services刪除了$ format參數。我嘗試使用它,我得到的錯誤:ADO.NET數據服務 - 格式參數 - xml/json
The query parameter '$format' begins with a system-reserved '$' character but is not recognized.
我認爲對於凌動東西的支持是非常酷的,但你可以得到「純老XML」嗎?
巴勃羅·卡斯特羅有一個乾淨的解決方案:http://code.msdn.microsoft.com/DataServicesJSONP
它使用WCF行爲拿起$格式= JSON
此博客文章顯示如何使用ASP.NET堆棧使$ format = json工作:http://josheinstein.com/blog/index.php/2010/05/wcf-data-services-format-json/
感謝您修復我的標題。我一定是半睡半醒。 – BuddyJoe 2009-02-03 16:15:52