Member Avatar
I'm using Excel interop and it seems that this functionality needs to run in the User Interface thread. So I execute that from the ProgressChanged backgroundworker event. Is there a way to have the dowork event (that invoked the progress changed event) interrupt execution until the ProgressChanged event is finished? …
by PerplexedB 2 in Software Development ()
Member Avatar
I have the following wcf service: ... And I'm trying to call it from a WinForm: ... I get this error though: There was an error while trying to deserialize parameter scan.rsna.org/WebServices/BarcodeScanner:barcode. System.Runtime.Serialization.InvalidDataContractException: No set method for property 'computer' in type 'Scanner.BarcodeScanner+ScannedItem'. The class cannot be deserialized. I tried using …
by yssirhc in Web Development ()
Member Avatar
Are there two or more ways to couple and decouple the service type and service contract? The book I'm reading speaks of coupling and decoupling in two different ways. Am I reading it wrong? I can provide examples but I'm trying not to over complicate this post. 1) She speaks …
by maurices5000 in Software Development ()
Member Avatar
I bought a book to help me learning WCF. Lots of people complained that the book was written for VS 2005 at first then there was a reprinting for VS 2008. What it seems is that the code for VS 2005 would not work in VS 2008. I'm wondering why? …
by maurices5000 in Software Development ()
Member Avatar
Following this : I have created a WP8 Mobile Application and trying to call my WCF web service. When calling the WCF service in the browser, I can see the JSON returned with no problems at all. However, when I call the WCF service in my mobile application, I don't …
by TheSubby in Software Development ()
Member Avatar
Sorry, If It is a stupid question but I am new to WCF. I have a C# project in which, I am loading a XML document (contains name of students and Id) using Linq to xml and I have to get the associated data (their due date, amount and stuff …
by cooldude1988 in Software Development ()
Member Avatar
Hey im just wondering if or how i can split up my services IService Service1 so can i splitt Service1 into two files .cs so for example i can have cutsomers and orders logic seperate?
by Dendei in Software Development ()
Member Avatar
Hey i just wonder if i can send the method comments with the OperationContract so i see it in my WCF Test Client. that way the php dude can see what each method does and how to work from that. this normal method comment option doesent seems to work for …
by Dendei in Software Development ()
Member Avatar
hello! i have a function in my C# code that returns a string array. and when i test my function in WCF Test Client i get code if i do var_dump on the function My code so far * so how do i create a php string = this return …
by Dendei in Web Development ()
Member Avatar
Hello, so im trying to send an metod that takes a class as input parameter with a bunch of variables. I want to write in some textboxes in my php side of the program send them with my class and into a database. but the database part is no problem …
by Dendei in Web Development ()
Member Avatar
Hi, I'm new to WCF technology and I have to make 2 service providers, that can exchange messages between each othen. So I made two seperate WCF services, and a client application for each service. But my how to implement implement communication between the two wcf services, so that when …
by c#_fem in Software Development ()
Member Avatar
Hi,I have already a web service written in C# which is designed to send a list of objects to the client.For the shake of simplicity let's say it's those objects have 2 fields, a description and an image.The web service is configured to send the data in buffered mode,now I …
by libathos in Software Development ()
Member Avatar
As far as I can tell REST is a methodology or an archecture. Is it a real tangable thing? I mean, can you look at a back-end code and determine if it is REST or not REST? How do you communicate with a WCF RESTful service? Are all WCF services …
by complete -2 in Computer Science ()
Member Avatar
Hi, again Im hoping to be on the right topic. So here it is: I am publishing a SilverlightApplication that uses a WCF service to read from a database. The application uses Bing Maps to visualize some polygons. The thing is, that after I publish it ONLY on some machines …
by astian in Web Development ()
Member Avatar
I am doing system using window phone 7 and sql server as database. I am using below coding to get shopping cart list at listbox. After that I want to update the orderId status become "success" but I am only able to update 1 row only by using assign listbox1.itemsource …
by hueikar 4 in Software Development ()
Member Avatar
Hi, I have to create several services that have to use some sort of registry, to store and get data from. Also, services should have to communicate with each other, in order to exchange data, using the previously mentioned registry. Each service should be able to connect to the registry …
by c#_fem in Software Development ()
Member Avatar
I am trying to learn how to make a mobile phone communicate with a server and a database. So far, I have made a web-service on my PC using this tutorial: The above tutorial makes a sortof WCF service. What would be the best Database system for me? Simplicity and …
by Usmaan 7 in Software Development ()
Member Avatar
Hello, I am creating an API in WCF (.NET 4, C# ). I am taking a .NET List as input from client. my only concern is that if my client is in a language other than .NET (like java), can i still accept List as an input and consume it …
by nice_candy in Web Development ()
Member Avatar
Hi, I have a WCF Webservice, and I have an asp.net application that uses this web service. I Have them both running on the same machine, but get a time out. Is there something I have to specify myself in the web.config? I am fairly new in WCF, as this …
by phoenix911 28 in Web Development ()
Member Avatar
Hi! Im new on this forum.. so Hello to all :) Im a beginner in programming WCF.Im a student, on our faculty, we get a new task to make a project in WCF.I hope that you guys could help me a little bit..I dont know how to start.I watched some …
by diGGity in Software Development ()
Member Avatar
Hello everyone..I'm trying to access the methods of a WCF service from a pocket pc emulator..I added a Web Reference to the service and tried to access the method like this WebReferenceService1.Service1 client = new WebReferenceService1.Service1(); MessageBox.Show(client.GetData(10,true)); ..but everytime i call the method..i get System.Net.WebException error saying "Unable to connect …
by cool_zephyr 7 in Software Development ()
Member Avatar
hey there, I'm writing a program where I have to store and retrive student information(e.g. name,address,photo..) in the database. I've written the code to interact with the database in a WCF service..The problem is I'm able to get the image from the database if I directly write the code to …
by cool_zephyr 7 in Software Development ()
Member Avatar
I have a C# WCF Ajax service with an OperationContract that accepts a string of text that is expected to be CSV. I have written most of a CSV parser for this, but I would like to possibly use OLEDB to parse this string. Is this possible? I would rather …
by HG&C in Web Development ()
Member Avatar
I am developing a project with wcf . I need to develop a wcf service that will take data from database. I should write it in WCF custom data provider. I can do it with wcf linq and webService with EF. But I can not understand the example of Custom …
by arcaolcer in Software Development ()
Member Avatar
Hi, I am using the following codel. But it is always returning 'False'. Even though i gave correct values.. Plz help... PrincipalContext adContext = new PrincipalContext(ContextType.Domain, "xxx.xxx.0.15", "Administrator", "Password"); using (adContext) { return adContext.ValidateCredentials(userName, passWord, ContextOptions.Signing); } I tried the this one also.. DirectoryEntry de = new DirectoryEntry("LDAP://serverIpAddress/CN=myusername,CN=Users,DC=domain,DC=com" + "domain.com\", …
by sudheer2250 in Software Development ()
Member Avatar
I got the error below what might cause it? Server Error in '/' Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Line 42: …
by Finarfin34 in Web Development ()
Member Avatar
I have created a simple web service based off one of the project templates in the Microsoft WCF Starter Kit 2 for .NET 3.5. I have successfully implemented a GET method. However I am having trouble get a POST method to work. [WebHelp(Comment = "Sample description for DoWork")] [WebInvoke(UriTemplate = …
by kinger29 in Web Development ()
Member Avatar
I have a very simple WCF program where I have a simple self-host and a client running on the same computer. There is a single method which returns a System.IO.Stream, which is actually a serialized form of a simple string. (This could be any number of data types, but for …
by sachintha81 17 in Software Development ()
Member Avatar
Hi Guys, I'm currently developing a project using WCF (hosted on local IIS) which connects to a local SQL database using LINQ to get data. My problem is that when I run the code, 9/10 times it'll fail with the "Specified Cast Is Not Valid" error, but the other 1/10 …
by micmo in Software Development ()
Member Avatar
I have a WCF service in which I have one method, It gets new live auctions from the database. It is called every second. For each auctions WCF creates new thread and start the auction. This thread updates database every second and after auction ends that thread gets close. However …
by andy1977 in Web Development ()