wcf-data-services Questions

2

The Entity Framework will not support enum's until EF 5.0 (scheduled to ship soon). Entity Framework 4.2 enum support http://blogs.msdn.com/b/efdesign/archive/2011/06/29/enumeration-support-in-en...
Impenetrability asked 7/2, 2012 at 22:40

2

Solved

I have an entity defined in an EF 4.0 that is based on a view. The view lays over a table with about 18 million rows of data. I have selected the 4 deterministic properties of the entity as a compo...
Cowhide asked 27/1, 2012 at 20:20

2

I am new to WCF and just have made a sample service. Please guide me by default WCF services are soap or restful if we not specify anywhere ? I tried to run URL of my services and got this page. I ...
Gownsman asked 7/1, 2012 at 21:17

6

Solved

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 I...
Fogarty asked 25/8, 2010 at 21:12

4

Solved

Does anyone have advice or tips on using a web service as the model in an ASP.Net MVC application? I haven't seen anyone writing about doing this. I'd like to build an MVC app, but not tie it to us...
Choric asked 1/6, 2009 at 20:21

2

Solved

I'm implementing a custom data provider, I have gotten it to the point that it returns data and can be filtered, but am having some trouble getting relationships to work. When querying the metadat...
Fara asked 5/10, 2011 at 8:11

1

Solved

I have a Wcf Data Service (it uses OData protocol) and using this query I want to get all countries, that stars with 'Ca' and this works: http://localhost/TestService/Data.svc/Countries?$filter=...
D asked 9/11, 2011 at 14:25

1

Solved

I need to test web-srvice with JMeter. I've created test plan with Thread-group 500. I need to pass for each thread new value of parameter. I've heard about "CSV Data Set Config", but it doesn't a...
Halley asked 19/10, 2011 at 14:55

4

I want to customize exceptions/errors thrown from my WCF Data Service, so clients get as much as possible information about what exactly went wrong/what is missing. Any thoughts on how this could b...
Basildon asked 17/8, 2010 at 10:58

1

I am trying to return a custom class from my WCF data service. My custom class is: [DataServiceKey("ID")] public class Applist { public int ID { get; set; } public string Name { get; set; } } ...
Tautomer asked 3/10, 2010 at 18:56

3

Solved

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 ...
Ideomotor asked 3/7, 2011 at 20:49

3

Solved

I'm trying to ask my OData service: "Give me all the Products that do not have a Category" with the Products and Category have a m2m relationship. I've tried: from p in Products where p.Catego...
Balch asked 2/8, 2010 at 18:41

1

Solved

I'm using jqGrid to display some data to users. I want this grid to be sortable, but the data jqGrid sends isn't exactly what I need. Here is the query string jqGrid sends now: http://local/MySer...
Trochelminth asked 11/8, 2011 at 13:52

1

Solved

I'm trying to understand how to use WCF Data Services (based on EF 4.1) to create a restful web service that will persist entities passed as JSON objects. I've been able to create a method that ca...
Iamb asked 2/8, 2011 at 19:19

2

Solved

Is it possible to use oData with a WCF service application but not use WCF Data Services? It will be great if someone could shed more light on oData. I have done some Googling on this topic, but w...
Incestuous asked 29/7, 2011 at 16:6

1

Solved

I've created an OData service (WCF Data Service), and a consumer to test it. Previously, when I attempted to delete, I got the WebDAV 405 error message, "Method Not Allowed". So I googled and fou...
Nainsook asked 14/7, 2011 at 17:3

2

Solved

Setting up ASP.net MVC with Linq2SQL or Entity Framework's context to have scaffolding work out of the box is extremely easy. What tweaks would you make to make it work with ADO.net Data Services? ...
Airwoman asked 10/1, 2009 at 23:46

5

Solved

Could someone compare and contrast on WCF Rest services vs. ADO.NET Data Services? What is the difference and when to use which? Thanks, Ray. Edit: thanks for the first answer, just to give a bit o...
Hamman asked 2/12, 2008 at 16:44

3

Solved

When using ADO.Net Data Services client to refresh an entity by calling the LoadProperty: ctx.BeginLoadProperty(this, "Owner", (IAsyncResult ar) => ... It throws an error on the server if the...
Trinetta asked 3/2, 2009 at 1:45

1

Solved

What is the difference between WCF Data Services and WCF Web API?
Ariel asked 27/4, 2011 at 20:13

1

Solved

I'm updating an ObservableCollection of a WPF ViewModel in a WCF Data Service asynchronous query callback method: ObservableCollection<Ent2> mymodcoll = new ObservableCollection<Ent2>(...
Singultus asked 25/4, 2011 at 18:53

1

Solved

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...
Electroanalysis asked 20/4, 2011 at 20:26

1

Solved

I have a WCF Data Service with a custom operation named MostRecentFilms that returns the 10 most recent films in the source. Each film has, among others, a Year property. All goes fine with the def...
Postboy asked 18/4, 2011 at 21:1

1

Not to add another SO post regarding the different WCF stacks, but I want to make sure I'm heading in the right direction before I waste more development time... My scenario - Our company has a nu...
Dorkus asked 7/10, 2010 at 20:51

4

Solved

I am developing a WCF Data Service. when I try accessing it from the client side, I get this exception : The ObjectContext instance has been disposed and can no longer be used for operations tha...
Demur asked 29/3, 2011 at 17:49

© 2022 - 2024 — McMap. All rights reserved.