WCF Data Services (OData) Vs ASP.NET Web API

后端 未结 8 700
鱼传尺愫
鱼传尺愫 2021-01-29 21:01

I am designing a distributed application that will consist of RESTful services and a variety of clients (Silverlight, iOS, Windows Phone 7, etc). Right now I\'m determining whi

8条回答
  •  半阙折子戏
    2021-01-29 21:44

    In other words :

    If you are looking to expose a data model (EDM or otherwise) quickly and don’t need a lot of code or business logic, WCF Data Services makes that REALLY easy and would be a good starting point.

    If, you are building an API and simply want to expose some resources (and logic) using either OData query syntax or formatting, then ASP.NET Web API is probably the best place to start.

    http://mattmilner.com/Milner/Blog/post/2013/04/02/WCF-Data-Services-and-Web-API-with-OData;-choices-choices.aspx

提交回复
热议问题