Providing data from WCF services as oData

Is it possible to use oData with a WCF service application but not use WCF data services?

It will be great if someone can shed light on oData. I did some googling on this topic, but whenever I search for “wcf odata” I get information about WCF data services.

Any help / links would be appreciated.

+5
source share
2 answers

WCF Data Services is a Microsoft implementation of the OData common protocol. Thus, only WCF Data Services supports / implements OData - the “normal” WCF service does not (and may not ).

, , OData, WCF. / ? "" WCF-?

: ok, , . , WCF, SOAP, webHttpBinding REST. , "" WCF, , . WCF (OData).

OData " , " - , , REST. SOAP, , . LoadCustomer, SaveInvoice ..

, - WCF, SOAP, REST, , "--" WCF Data Services/OData SOAP - , , .

, WCF (OData), , WCF- SOAP, ( , ), "" -.

+12

(ish) Microsoft WCF WebApi ( NuGet), RESTful WCF. "" REST, (JSON, XML, oData, PNG, ..) (, , , ), . - oData GET , .AsQueryable().

WCF/oData, , , , . Go-Live , ; , .

* UPDATE * ASP.NET( ASP.NET MVC) WCF. ASP.NET WebAPI.

+6

All Articles