How to consume OData service with Html/Javascript?

后端 未结 5 1975
感动是毒
感动是毒 2020-12-23 18:59

Our project currently uses Silverlight to consume an Odata service. This has made life pretty simple since we can just reference the OData service thus giving us generated s

5条回答
  •  爱一瞬间的悲伤
    2020-12-23 19:46

    OData sources can return data as JSON so your web pages can XHR your data and receive it as JSON which gets de-serialized back into a Javascript object for you to pick apart and act-upon or display.

    Here are some additional links to get you started:

    • New Javascript OData Library [MSDN]
    • OData protocol by example [MSDN]
    • Leveraging OData end-points in JSON format with JQuery
    • Consume an OData service with JayData
    • Consume an OData service with BreezeJS

    HTH.

提交回复
热议问题