Questions tagged [astoria]

Astoria is the code name given to what is now WCF Data Services or ADO.NET Data Services. It is a component of the .NET Framework that uses the OData protocol to transport data over the Internet using REST-ful paradigms.

30 questions
24
votes
8 answers

How to Improve WCF Data Services Performance

I'm new to WCF Data Services so I've been playing. After some initial tests I am disappointed by the performance of my test data service. I realize that because a WCF DS is HTTP-based there is overhead inherent in the protocol but my tests are still…
Simon Gillbee
  • 3,852
  • 4
  • 31
  • 48
23
votes
6 answers

How do I interact with OData from Java?

OData is Microsoft's repackaging of its Astoria (now WCF Data Services) RESTful query/update protocol. If I want to use Java to create an OData compatible data source, how do I do that? Similarly, if I want to consume an OData data source from Java,…
user280638
9
votes
3 answers

Proper way to call nested Expand() from .NET OData 4 Client

Problem In an OData 4 service on Web API, what is the proper way to call nested $expand from a .NET client? We are using the OData Client Generator. Back in the prior WCF Data Services with OData 3 service we could call…
7
votes
3 answers

Why is my ServiceOperation method missing from my WCF Data Services client proxy code?

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 { //…
Kev
  • 112,868
  • 50
  • 288
  • 373
6
votes
1 answer

Using REST WCF data service as a data source for SQL Reporting services

Can anyone point me to a definitive Microsoft map for where Reporting Services is going using WCF Data Services (ADO.NET Data Services, Astoria) as a data source? There's fragmented information out there. There is some about creating custom data…
Greg Neilson
  • 126
  • 1
  • 5
3
votes
1 answer

How to programmatically configure WCF data services?

How would you configure the following WCF Data Services fluently in C#? ...
Richard Dingwall
  • 2,478
  • 30
  • 30
3
votes
0 answers

Large datasets published with OData WCF Data Services and Excel PowerPivot

I want to publish an SQL Server database, for testing purposes AdventureWorksDW, the data warehouse sample database that provides Microsoft. I created a new "WCF Data Service" project in VS and created an Entity Framework Model to pass it into the…
Lester
  • 512
  • 5
  • 15
2
votes
2 answers

Astoria vs. SQL Server Data Services

What are in your opinion big differences between areas of usage for "Astoria" (ADO.NET data services) and SQL Server Data Services?
dimarzionist
  • 17,679
  • 4
  • 19
  • 22
2
votes
1 answer

Cascade deletion in WCF Data Services

Is it possible to delete persistent objects graph by the single command using WCF Data Services in Silverlight? I've started with this walkthrough and added code for deletion of selected order (which contains details): private void…
Denis Parchenko
  • 665
  • 1
  • 6
  • 18
2
votes
2 answers

OData / WCF Data Services metadata versioning

Is there any metadata versioning support in OData protocol and its WCF Data Services implementation? Let us suppose that we have OData service that exposes the single Goods collection, and the Goods entity type has three properties: Key (string),…
sarh
  • 5,672
  • 4
  • 20
  • 23
2
votes
2 answers

Running an existing LINQ query against a dynamic object (DataTable like)

I am working on a generic OData provider to go against a custom data provider that we have here. Thsi is fully dynamic in that I query the data provider for the table it knows. I have a basic storage structure in place so far based on the OData…
TomTom
  • 1
  • 9
  • 78
  • 143
2
votes
2 answers

ADO.NET Data Services - Uploading files

I am trying to write REST web service through which our clients can upload a file on our file server. IS there an example or any useful links which I can refer for any guidance? I haven't seen many examples of POST operation using ADO.NET data…
MOZILLA
  • 5,660
  • 13
  • 49
  • 58
1
vote
2 answers

ADO.NET Data Services .NET client caching

On my service, I've added the following method: protected override void OnStartProcessingRequest(ProcessRequestArgs args) { base.OnStartProcessingRequest(args); …
Jason
1
vote
2 answers

Substituting Astoria Payload?

I'd love to use data services to publish read only data over http. What I'd really like is the ability to provide different shaped bits of xml that represent whats in my db using filters, expand etc. What I don't really like is the 'goop' in atom, I…
tim
  • 515
  • 2
  • 5
  • 9
1
vote
1 answer

IDataServiceMetadataProvider - Entities dont show up in $metadata

I am trying to write our own RIA services provider to expose data from a server that I access via ODBC. I follow th eguidelines set out at http://blogs.msdn.com/alexj/archive/2010/03/02/creating-a-data-service-provider-part-9-un-typed.aspx I have…
TomTom
  • 1
  • 9
  • 78
  • 143
1
2