24
votes
4answers
9k views

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

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 which technology I should ...
11
votes
5answers
12k views

How to handle json DateTime returned from WCF Data Services (OData)

I believe I am missing something obvious here. When I request a JSON response from an OData service I get a different result for the DateTime properties than I do when I request XML. I'll use the ...
10
votes
6answers
8k views

Using enums in WCF Data Services

I'm trying to manually build a WCF Data Service using a POCO data model and I cannot figure out how to properly expose enum values. Assuming a simple model like: public class Order { public int ID ...
10
votes
2answers
602 views

Can I use OData client code inside a Portable Class Library?

I'm trying to build a portable class library targeting .NET, Silverlight, Windows RT and Windows Phone that acts as an OData client. I'm using Visual Studio 2012. When I created the service ...
8
votes
2answers
509 views

How to make WCF Dataservice to stop tracking Entity changes?

I have web app which invokes OData Webservice (DataServiceContext) via a proxy. The issue is the code even though makes a call to OData webservice every time, it always returns old data after changing ...
8
votes
1answer
1k views

Is there a .NET class wrapper for the OData protocol Uri

Does anyone know if there an open-source .NET wrapper that can reliably parse the OData protocol Uri? I'm not looking for pointers to WCF Data Services... I'm creating a WCF-based data querying ...
8
votes
5answers
528 views

Expand in a Projection (Select) for WCF Data Services (OData)

Say I have an OData query that looks like this (My actual query is much more complex): Orders.Select(z => new { z.SubOrder.Addresses, z.SubOrder.Cost, ...
8
votes
3answers
8k views

Enable WCF Data Service to accept/return JSON by default

I have a WCF Data Service that I'd like to return JSON by default for all operations. Is there a place I can set that in configuration/via service attributes?
7
votes
3answers
2k views

ODATA template in Visual Studio 2010

I don't see a OData (or WCF data service, or ADO.NET service) template in visual studio 2010. Am I missing something
4
votes
3answers
567 views

Which is better for building an API for my website: MVC or Ado.net data services?

I have a website built with MVC, and now I want to build an API for this website, to let users to use this API to implement different website, web services, plugins and browser extensions. I went ...
4
votes
1answer
1k views

Calling an OData Service Operation from Linqpad

Does anyone know if its possible and if so, what the syntax is for calling a service operation via linqpad? Also, can I used named parameters when I call it using linqpad- how? That would be great ...
4
votes
4answers
771 views

New oData javascript library (from MSFT) compared to jQuery

What is the benefit of the new Javascript OData library over using jQuery? http://blogs.msdn.com/b/astoriateam/archive/2011/02/08/new-javascript-library-for-odata-and-beyond.aspx
4
votes
1answer
601 views

Are WCF Data Services dead for Silverlight?

WCF RIA Services just got updated few days ago. WCF RIA services got complex objects, TT templating, etc. WCF RIA Services have (by default) fast and compact binary transport. WCF Data Services have ...
4
votes
1answer
712 views

OData on Windows Phone 7

I'm not sure if maybe I'm just not finding the correct information. But the OData story on windows phone 7 seems to be incomplete. I've followed the steps in this blog post: ...
4
votes
1answer
413 views

Odata compression - Is there ANY support? (WCF Data Services 5.0 for WinRT)

Context:Currently using WCF Data Services 5.0 with Odata for a Windows 8 Store application. Have been trying to compress the OData coming over the wire from my service today and running into plenty ...

1 2 3 4 5 23
15 30 50 per page