Questions tagged [dataservice]

117 questions
0
votes
1 answer

Can you Export/Import Flex (4) Data Services?

I'm working in flashbuilder 4 (flex4?), and am being asked to create the client-side data services integration 'layer' in a flex app. There is another team working on the actual UI/Presentation. Both parts must be deployed in a single swf. If I…
Kreegr
  • 149
  • 10
0
votes
1 answer

Custom Data Service Provider (WCF Data Service) for a dynamic table in MS SQL Server

After reading the 'Custom Data Service Providers' documentation of the ODataProviderToolkit from microsoft, I end up a little confused where to start. My intention is, to have a OData server for a table in the database, which structure is unkown…
Torsten
  • 919
  • 9
  • 8
0
votes
1 answer

Simple.Odata.Client Retrieve Data From WCF Dataservice

My wcf dataservice is using self-host,When I tried to retrieve data from wcf dataservice by simploe.odata.client,it throws a error:Internal Server Error. wcf dataservice code:public class RFODataService : DataService { …
sam
  • 23
  • 1
  • 5
0
votes
1 answer

Failed to publish service reference (Web Deploy)

I am trying to publish my asp.net web application and it's work, But the problem is when I use my search engine to search in database an error show. Maybe I also need to publish DataServiceReference? but how can I publish this…
Onel Sarmiento
  • 1,608
  • 3
  • 20
  • 46
0
votes
1 answer

BreezeJs and AngularJs startup help - how to revieve data from url

I have created the following application in Angular js. This retrieves data from the github api "https://api.github.com/users/angular" via $http.get method in angular. So I want to do the same thing by using BreezeJs to retrieve data in the most…
sham999
  • 121
  • 1
  • 3
  • 12
0
votes
1 answer

How to get data source information from WSO2 DSS?

Usually, we will use WSO2 DSS to config a data source and issue data service based specified data table. How would I get the related data source information about configured data source, including: data-source name, table names, and column names?
0
votes
1 answer

Data Service error

http://dynamicshell.com/dataservice/DataService.svc I dont have any idea what should i do. I only follow same steps in this video. then publish DataService to my…
0
votes
1 answer

ASP.Net 4.5 with DataService: No connection could be made because the target machine actively refused it 127.0.0.1

The Scenario: I have a simple.Net Solution, with two projects: A website, and a DataService. I've set the Web.config in both to have the correct (tested) connection strings to my local SQL Server instance. Upon running (debug) the application, I get…
PKD
  • 685
  • 1
  • 13
  • 37
0
votes
0 answers

How to secure a WPF app that uses WCF DataService Forms Auth so that the username/password can not be viewed with Fiddler

I have a WPF app that I intend to distribute. The app uses a WCF DataService with Forms Auth. The web site where the WCF DataService is hosted is using SSL and I believe it is properly enabled on both the WCF end and the client end. No Message level…
0
votes
3 answers

Get specific (name) value from wcf dataservice

I want to get the name of the product which i've selected in my gridview. I have a index number which I can use to compare in my database, but I can't select the name of the item which belongs to that index number. ServiceReference1.ProductContext…
Bilow
  • 306
  • 1
  • 3
  • 8
0
votes
1 answer

Measuring db access time in data service

Is there any way for us to measure the time taken by the WCF data service to fetch entities from Database. For eg. Lets say that we expose the NortherWind DB through data-service and accessed Orders entities through below…
sam
  • 11
  • 1
0
votes
0 answers

Measuring time taken to fetch DB data in Data service

Is there any way to measure the time taken for data from Database using WCF Data service. So that we can log it for our analysis purpose? Any pointers or suggestions on this will be helpful. Thanks in advance!
sam
  • 11
  • 1
0
votes
0 answers

How to catch this error?

I have problem. From data service I receive rows with equal identity and it crash runtime my application with this error: Error: Collection result contains a duplicate item: SalesPro.Duplicates:#:1 exists at both position: 0 and 1 at…
Volodymyr
  • 1
  • 1
0
votes
1 answer

WCF Data Service stored procedure returns strange string value

Stored procedure: ALTER PROCEDURE [dbo].[TestDataSP] AS BEGIN SELECT FirstName FROM Employees WHERE EmployeeID = 7 END TaskTrackerDataService.cs [WebGet] public String GetEmployeeName() { TaskTracker_EDM.TaskTrackerEntities ctx =…
KekoSha
  • 125
  • 13
0
votes
1 answer

What's DataService Best practice using Entity Framework and Repository and UnitOfWork Patterns

I'm using EF and MVVM pattern. My question is about the Data Access Layer. in DAL I have the following classes: MyObjectContext which is technically the standard ObjectContext now, but some Unit-of-work methods will be added to it…