- OData Programming Cookbook for .NET Developers
- Steven Cheng
- 238字
- 2021-08-13 18:19:32
Introduction
With OData services established, it is also quite important to find a simple and efficient means to consume the data from services. Since OData protocol is based on web standards such as HTTP, XML, and JSON, it is quite convenient for various programming platforms to build client applications that can consume OData services. For example, you can simply launch a web browser to explore an OData service, which will return data in the AtomPub format; you can also use the .NET WebRequest class to communicate with an OData service via a raw HTTP request/response. In more complicated situations, we can use the OData client SDK or GUI tools (such as the WCF Data Service client library and Visual Studio IDE) to generate a strong-typed client proxy to access OData service.
In this chapter, we will cover several cases of accessing OData services in client applications. We will start with some very basic OData client access approaches such as using a web browser, strong-typed client proxy classes, and raw WebRequest class. Then, we will dig into some more detailed OData client access scenarios such as editing and updating OData entity sets, asynchronous OData programming pattern, using built-in OData query options and server-side paged entity sets manipulation. In addition, some more complicated OData access cases such as consuming OData in Gzip compressed format, accessing an OData service in unmanaged clients are also covered at the end of this chapter.
- Visual Basic程序開發(fā)(學(xué)習(xí)筆記)
- NLTK基礎(chǔ)教程:用NLTK和Python庫(kù)構(gòu)建機(jī)器學(xué)習(xí)應(yīng)用
- 微服務(wù)設(shè)計(jì)原理與架構(gòu)
- 編寫高質(zhì)量代碼:改善C程序代碼的125個(gè)建議
- 精通Python自然語(yǔ)言處理
- Visual C++數(shù)字圖像處理技術(shù)詳解
- .NET 3.5編程
- AppInventor實(shí)踐教程:Android智能應(yīng)用開發(fā)前傳
- 0 bug:C/C++商用工程之道
- 搞定J2EE:Struts+Spring+Hibernate整合詳解與典型案例
- 軟件測(cè)試教程
- JavaScript編程精解(原書第2版)
- Python數(shù)據(jù)科學(xué)實(shí)踐指南
- Google Adsense優(yōu)化實(shí)戰(zhàn)
- WCF全面解析