wcf-data-services Questions
2
Solved
Recently I was learning WCF Data service. I know the Data Service expose the Data As Rest Resource Which can be manipulated by URL. But There are many technologies in this field.
Hope someone can h...
Crossbones asked 27/7, 2012 at 2:17
3
Solved
I am trying create a WCF Data Services ServiceOperation that does grouping on the server side and then sends the data down to the client.
When I try to call it (or even connect to the service) I g...
Pericardium asked 14/12, 2011 at 16:1
1
Solved
I've written a WCF Data Service that is self hosted in a Windows console application.
The service is initialised with the following code:
static void Main(string[] args)
{
DataServiceHost host;
...
Cajole asked 9/1, 2015 at 11:59
8
Solved
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 N...
Exceeding asked 29/9, 2010 at 4:25
3
Cannot update or delete after migrating EntityFramwork 6 and VS 2013 in WCF Data Service application
After migrating to EntityFramework and VS 2013, I can't update or delete a ressource.
Request URL:service.svc/Orders(22354)
Request Method:DELETE
Status Code:500 Internal Server Error
Request Head...
Thermomagnetic asked 2/12, 2013 at 15:50
2
Solved
This sounds rather simple (and maybe I'm missing the obvious here) but I can't find a solution. I know I can query an entity and return one, or many direct child entities doing this:
var query = f...
Oedipus asked 15/8, 2011 at 19:44
4
Solved
What is the difference between WCF Service, WCF RIA Services and WCF Data Services?
Suberin asked 10/6, 2010 at 10:12
3
I am using RestKit for connecting to our WCF Data Services.
I am having issues with adding an entity using RKObjectManager's postObject function due to response mapping issues.
When an entity is ...
Melleta asked 26/10, 2011 at 0:49
1
Solved
I want to use an ajax-based component (KendoUI) to read/modify entities on an OData endpoint implemented by WCF DataServices.
The service implementation was fairly easy in the first place:
public...
Sonasonant asked 22/11, 2012 at 16:17
3
Solved
I would like to return a set of entities who has and ID that is contained in a list or array of IDs using LINQ and Data Services. I know how to this using LinqToEF but I am at a loss how to this wi...
Piecework asked 19/8, 2010 at 11:38
2
Solved
I am using Linq to Entities and am getting this error
The method Distinct is not supported
On this line of code
var typeIds = _context.AttributeValues.Select(av => av.AttributeTypeId).Distin...
Mincemeat asked 29/10, 2012 at 18:1
2
Solved
Just upgraded a .NET 4.5 WCF Service, which also has an OData service to use EF 6. The OData service was of course working prior to the upgrade. Now, when attempting to query the OData service or e...
Pitching asked 21/10, 2013 at 16:32
3
Solved
I have been trying to get a WCF Data Service server working for a few days now.
I finally backed off today and just tried to do exactly what the quick-start shows.. nothing else.. and in completely...
Determine asked 27/11, 2013 at 23:34
1
Solved
I am using WEB API ODATA with Telerik OpenAccess
Here is OpenAccessBaseApiController.cs
public abstract partial class OpenAccessBaseApiController<TEntity, TContext> : ODataController
where...
Fotina asked 28/5, 2014 at 11:42
3
Solved
I'm playing around with WCF Data Services (ADO.NET Data Services). I have an entity framework model pointed at the AdventureWorks database.
When I debug my svc file from within Visual Studio, it w...
Aikido asked 28/4, 2010 at 11:54
3
Solved
Trying to find single record using primary key CourseID against odata web.api using this:
var editedcourse = container.Courses.Where(c => c.CourseID == ID).SingleOrDefault();
This is error:
...
Eadie asked 31/3, 2014 at 14:41
2
Solved
I read on the WCF Data services blog this comment:
Sorry, we do not plan to release WCF Data Services in V4. But instead we will release WebApi version for service bits. We already have prerel...
Apeman asked 24/3, 2014 at 20:4
3
How to apply filtering conditions on expanded entities in OData ?
Suppose I have master entity as home having fields
homeId, StateId, CountyID, Address
and sub entities state as
StateId, Stat...
Avernus asked 8/8, 2013 at 10:46
2
Solved
I recently updated the nuget package for Microsoft.WindowsAzure.Storage to the 3.0 package which also included updates to WCF Data Services Client and it's dependencies. Since the update I get an e...
Licentious asked 16/1, 2014 at 17:3
2
I have an EF model with about 200 tables, 75 of which I'd like to expose via REST in an MVC app. I started by adding a WCF Data Service (WCF-DS), pointed it to the EF context, and bam, I had the en...
Guaiacol asked 2/1, 2014 at 5:27
2
We would like to mock the OperationContext class for testing purposes. We are using 'Mock'. But OperationContext is a sealed class and cannot be mocked. Therefore we are trying to create a dummy Op...
Declinatory asked 16/2, 2011 at 12:25
1
I am starting this new thread as a continuation of comments in:
Consume Odata Service and get result in JSON
The issue that I am facing is that I have upgraded to wcf data services 5.5 and wcf cli...
Eruption asked 21/6, 2013 at 12:22
1
I changed
config.DataServiceBehavior.MaxProtocolVersion = DataServiceProtocolVersion.V3
from V3 to V2 to verify that JSON output is Verbose. However, when I change it back to V3, the output is ...
Babbling asked 8/11, 2012 at 16:58
4
Solved
Microsoft has done a savvy job of not outlining the actual place for data services in the wonderful world of SOA/Web dev.
So my question is are WCF Data Services designed to be used via external ...
Chemism asked 24/3, 2010 at 14:16
3
Solved
It seems from all that I read and watched, exposing JSON from a WCF Data Service should be as easy as adding the JSONPSupportBehavior attribute to the service class.
The problem is that VS2010 do...
Jacquline asked 6/6, 2010 at 4:21
© 2022 - 2024 — McMap. All rights reserved.