WCF Data Services Client + ASP.NET WebAPI OData Services = Transactions?
Hello Community,I have been researching ASP.NET WebAPI for a few weeks now, and have been riddled by how it appears to have hi-jacked the WCF space, at the cost of a handful of tried-and-true...
View ArticleSystem query options in service actions
Hi,Currently service actions doesn't support system query options like $orderby and $filter, because service actions cannot be further composed. Is there any plan to implement this in future releases...
View ArticleMicrosoft.Data.Edm: EdmxReader and CsdlReader, but is there something similar...
Hello.I am attempting to use some functionality from ODataContrib in WCF Data Service for an Entity Framework code-first model built with the DbModelBuilder fluent api. Specifically, I'm using...
View ArticleCollection was modified when iterating over the results
Hi,So I am currently having some issues with using WCF Data Services Client v5.0.2. I am making a few hundred concurrent async queries and often I am finding that I get an InvalidOperationException...
View ArticleQueryInterceptor with Query Projection Problem
Hi, we are a big user of WCF Data Services and we have a problem with query interceptors. As our API is multi-tenanted we use QueryInterceptor to limit access i.e.[QueryInterceptor("Customers")] public...
View ArticleType mismatch between client and the service
Hi,I'm using WCF Data Services 5.1 and have three core assemblies: 1. A Domain assembly that contains POCO classes that are each decorated with a [DataServiceKey] attribute 2. A Host assembly that...
View ArticleWhat's the limitations of service operation in OData?
Hello,I wonder limitations of OData's service operation.My service operation's return type is EntityType so the service operation can use OData system query.It seems to me that it works well, but I...
View ArticleSpecifying From/ToRole and exact Cardinality in IMetadataProvider
Is it possible to specify FromRole and ToRole strings and exact cardinality for both ends of an association using IMetadataProvider?The following code works for defining a new association sets with...
View ArticleOData with WCF Data Services 5.0 (WinRT). Any compression support?
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 of...
View ArticleCan't make 'Expand' work on WCF Data Service
Hello.I'm trying to develop a simple WCF Data Service, using EntityFramework code first. The problem is that I can't make the 'Expand' work, nor in the web browser or .NET client, althought the data is...
View ArticleReflectionProvider: improve cooperation with data source.
Hi *,popular OData provider called "ReflectionProvider" really simplifies building cutom data sources. The deal is that custom data source (any non-SQL, to begin with) exposes its object model (e.g....
View ArticleSaveChanges AND call Action in the same transaction
Hello, gentlemen.After some digging into the source code I found that it seems to be impossible to pass batch changes AND execute an Action in the same HTTP REQUEST.It is very frustrating, it was the...
View ArticleIs there a re-usable Expression Tree -> OData URI builder in the latest...
I want to build an OData uri given the Linq expression tree. Is there a part of OData Lib that supports this?Basically I want a lot more control over the pipeline when using a CLR client against Web...
View ArticleReturn a 404, etc... from OnStartProcessingRequest without throwing an exception
Currently I have a WCF data service that does some request validation in its OnStartProcessingRequest overload. When the request is deemed invalid, I currently throw a DataServiceException, and the...
View ArticleWCF Data Services. POST operations fail after installation of .net 4.5
Hello allOur application exposes WCF Data Services. There is a method marked by WebInvoke(Method="POST") attribute. It worked fine until we have installed .net 4.5. Now calls to...
View Article5.2 RC1 JSON Format - Syndication properties
Hi,It seems that when requesting JSON format, any Syndication mapped properties are injected in the select part of the expression that is passed to my DataServiceQueryProvider.This must be something...
View ArticleBest way to handle empty bags/collections (OData v.3)
Hi,Collection properties that are exposed via OData must not empy. If a property is defined in a schema as a collection, then an attempt to pass an empty array results in exception:"OData The...
View ArticleAre there any plans to remove TSimpleIdentifier constraint from WCD Data...
Hi,Sometimes exposing data source as OData service fails due to a constraint imposed on EDM TSimpleIdentifier which has strict restrictions what is a valid column name. Here is an...
View ArticleError when creating service reference to WCF 5.1 data service
I have an application that is built using an Entity Framework model generated from the database and then exposed using WCF Data Services 5.1. The main reason for using 5.1 is the support for...
View ArticleCalling a Stored Procedure from Silverlight
I created an Entity Data Model for a database and added a function import for a stored procedure that returns a complex type. Then I created a WCF Data Service to expose the Entity Data Model. Next I...
View Article