Questions tagged [wcf-data-services]

This technology uses the OData protocol to transport data over the Internet using REST-ful paradigms. WCF Data Services was formerly known as ADO.NET Data Services and its code name, Astoria.

Helpful Links:

Visit http://www.odata.org for producers and consumers of OData services and some information on the protocol itself.

Visit http://www.odataprimer.com/ for lots of samples and examples on using WCF Data Services with various platforms and devices.

1909 questions
0
votes
0 answers

connecting azure website to sql server database on external server

I had hosted my site on Azure and my database to azure sql databse but the problem with azure sql database does not support data encryption and for that reason I have to move my sql database to external server. Now I do not know how I can connect…
0
votes
0 answers

Querying ODATA set for its subtypes

I have an ODATA service endpoint implemented using WebApi2. It exposes an entity set of Resources. The Resource is a base class for a large hierarchy of resources. SystemResource is one of its sub-types (in other words SystemResource : Resource).…
0
votes
0 answers

wcf per-call, http-binding - IDisposable pros cons

If I am using wcf service per-call mode and with http-binding (not using multi-threading / thread in any method) now If I implement IDisposible interface in my service will there be any issue in performance? Is it safe to implement IDisposible…
0
votes
1 answer

OData WebAPI Key fails due to invalid characters

I have read and successfully implemented the solution to support composite keys in OData as outlined in http://code.msdn.microsoft.com/Support-Composite-Key-in-d1d53161 however this issue does not relate to that specifically as the…
Allan
  • 673
  • 6
  • 14
0
votes
1 answer

How to compare two different OData model

I have two different data services. I need to compare the data from these two data services and integrate results into Database using data services. This should be done using OData
Soft Prof
  • 1
  • 1
0
votes
1 answer

DataServiceQuery Expanding Related Expands

Assuming a Company has multiple Employees who in turn each have multiple AttendanceRecords. Using DataServiceQuery I can include all employees of all companies: dataContext.Companies.Expand(c => c.Employees); However, what if I want to include all…
Andrew Keller
  • 3,198
  • 5
  • 36
  • 51
0
votes
1 answer

JayData cannot read WCF data service because of CORS

I have created a WCF Data Service and set the followings in my web page: var mongo = new MyCtx.MyContext({ name: 'oData', oDataServiceHost: 'http://xxxxxxxxx/MongoDataService.svc/', enableJSONP: false }); In my WCF Data Service web.config: …
Nestor
  • 8,194
  • 7
  • 77
  • 156
0
votes
1 answer

Why can't I show content of my WCF Data Service

My problem is that the content of the tables can't be shown on my browser. when I type http://localhost:61306/MyWcfDataService.svc the tables are shown but I when I want to access to the content of a table and type…
Abdulsalam Elsharif
  • 4,773
  • 7
  • 32
  • 66
0
votes
1 answer

What does this WCF exception mean?

The exception message is The client's security session did not receive a 'close response' message from the service within the configured timeout Any valuable information?
selvakumar
  • 1,771
  • 3
  • 20
  • 34
0
votes
1 answer

How to use data service queries against an in-memory List in C#

I have a WCF Data Service and it gets its data from dinamically created objects, like this: List list=new List(); for(int i=0;i<20;i++) { list.Add(new UObject()); } For the clients it has to be accessible as a queryable method, so…
Nestor
  • 8,194
  • 7
  • 77
  • 156
0
votes
1 answer

Getting message element through wcf intercepter

public object BeforeSendRequest(ref System.ServiceModel.Channels.Message request, System.ServiceModel.IClientChannel channel) { MessageBuffer buffer = request.CreateBufferedCopy(Int32.MaxValue); Message reply =…
user1104946
  • 680
  • 1
  • 9
  • 30
0
votes
1 answer

InvalidOperationException while WCF Data Service on load test

I have a method to insert a record in a Table, which works fine during my unit test. However, when I do a load test using Visual studio ultimate's load test, with just constant load of 10 users, I get below InvalidOperationException after around…
0
votes
1 answer

Wireing Breeze (with Angular) to an existing WCF Data Service

The Short I have an existing WCF Data Service that I would like to wire up to use in an AngularJS SPA using Breeze. Can anyone show a noobie level example of how to do that with out access to the actual database (just the OData Service)? The Long I…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
0
votes
1 answer

Invoke wcf data service operation with intellisense

I have the following WCF Data Service [System.ServiceModel.ServiceBehavior(IncludeExceptionDetailInFaults = true)] public class MyWcfDataService: DataService { // This method is called only once to initialize service-wide policies. …
Tono Nam
  • 34,064
  • 78
  • 298
  • 470
0
votes
1 answer

WcfInstantFeedbackDataSource cannot read valid Data Service source

I tried to use WcfInstantFeedbackDataSource from DevExpress 13.2.9 (located in Xpf.Core.Extensions) with a data service (its source is a MongoDB). I intend to use it with an ASP.Net page so I used the following code: ctx = new MongoContext(new…
Nestor
  • 8,194
  • 7
  • 77
  • 156
1 2 3
99
100