I have an application which consumes both a WCF service and an ADO.NET Data Service. Types are shared between the server and client using a shared class library.
When I configure the service reference for the WCF service, I can choose to use the existing types in the class library to avoid creating duplicate types in the proxy classes.
...
Hello,
I have a WCF RIA project getting my data from an SQL Server 2008 via Entity framework. Everything is going well. However I would like to access data via a windows mobile so, as far as I can understand I have to create an ADO.NET Data Service. My domain service is called BusinessLogicDomainService.cs. Immediately after creating th...
My question is a rephrase of my previous unanswered one for clarification.
WCF Ria Services is basically a web service (SOAP), exposed via the .svc style web service. How can I reuse my ria domain service (the one containing the CRUD operations) to construct a data service on WCF Data Services?
Thank you and I tried to narrow down my qu...
I used following jQuery to insert a data via Data Service.
Event though I got 201 status response and the data is successfully inserted into my database, the system still regard it as a error and give me "failed" alert?
what did i missing here.
thank you in advance
$.ajax({
type: "POST",
url: "http://localhost:...
For a project I have to implement a communication between a database hosted on a web server and several clients out there in the internet.
After reading a bit and watching a few introductory videos about possible (Microsoft) technologies I figured out that I seem to have (at least) three options:
1) Windows Communication Foundation (WCF...
Note: I have installed the 3.5 update to make my data services run like 4.
I have an ADO (WCF) Data Service up and running. I need to execute a query where it uses the "Any<>" function, which returns a bool value. I am not sure what the type of the query should be so that the bool value can be returned. For collection returns, I have...
I have the following DataServiceQuery running agaist an ADO Data Service (with the update installed to make it run like .net 4):
DataServiceQuery<Account> q = (_gsc.Users
.Where(c => c.UserId == myId)
.SelectMany(c => c.ConsumerXref)
.Select(x => x.Account)
.Where(a => a.AccountName == "M...
Hi,
I have an application which will use WCF to serve up various chunks of data to clients. However, due to the size of some of the sets of data that will be returned (and that's because the client app needs to show a large number of objects in a list, not because I've just been lazy in the design) I'm hitting the message size limits.
...
Hello,
I want to use the .net class HttpListener to intercept requests to my selfhosted (WebServiceHost) WCF Data Service in order to add the "WWW-Authenticate" header to the response (for user authentication). But it seems like that the HttpListener doesn't intercept any requests that go to my dataservice. The HttpListner works for dif...
I have a ado.net data service created using VS 2008 sp 1 that is hosted that I want to consume via HTTP and JSON from Android 2.1? Does anyone have sample code on how to do CRUD operations easily do this? I heard Restlet makes this very easy but can't seem to find sample Android code on doing this. If someone can post a tutorial with som...
Does anyone know how to use Restlet with Android to consume an ADO.net data service? If so, does anyone have sample code/tutorial to do all 4 CRUD operations using JSON and HttpClient?
...
I have a Silverlight 4 client application that is calling out to an ASP.NET Data Services service hosted inside IIS 7, restricted to Windows Authentication. Both are hosted in the same location in IIS. When running the application within the browser, I am prompted for credentials via the browser, and when provided everything works fine.
...
Hi All,
I have an object I'd like to send as JSON
(As you know - JSON is often used when you want to send minimal data)
The Object has one level of inheritence.
(Page > PageSubtype) (2 tables - same PK)
I can send the 30 properties of the object - fine.
The issue is that ADO.NET sends EVERY link to EVERY table the SuperType is linked t...
I'm using MS Data Service to send JSON. (Using a View in the DB)
Problem is that it sends "__metadata": {
"uri":"ALL THE DATA REPEATED"}
with the Data - each time.
This doubles our Data over the wire each call.
THERE MUST BE A WAY TO TURN THIS OFF!!!
WHO KNOWS HOW?
THX
...
We have an ado.net dataservices 1.0 call that is being passed to a [WebGet] service operation as a batch through BeginExecuteBatch.
Everything works perfectly on our development server - we have the project configured to use IIS instead of the cassini web server to make it as close to our production server as we can.
When we publish t...
I have a simple WCF Data Services service and I want to expose a Service Operation as follows:
[System.ServiceModel.ServiceBehavior(IncludeExceptionDetailInFaults = true)]
public class ProductDataService : DataService<ProductRepository>
{
// This method is called only once to initialize service-wide policies.
public static void ...
Anybody know how to change the current data source of a DataServices on the fly?
by Example i want to consultthe service and pass a parameter saying to pick up another connection., Is Possible???
...
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 clients? Has anyone ever heard of someone using them on the server side (i.e. data base access for web service)?
Simple scenario a general ...
I have an ADO.NET Data Service that's supposed to provide read-only access to a somewhat complex database.
Logically I have table-per-type (TPT) inheritance in my data model but the EDM doesn't implement inheritance. (Limitation of Data Services and navigation properties on derived types. STILL not fixed in .NET 4!) I can query my EDM ...
When I deployed my WCF Data Services to production hosting I started to get the following error (or similar depending on which auth schemes are active):
IIS specified authentication schemes
'Basic, Anonymous', but the binding
only supports specification of exactly
one authentication scheme. Valid
authentication schemes are Di...