wcf

Connect from iPhone to RESTfull WCF Service with Self Signed Certificate

Hi Guys, I have an iPhone application which has to communicate with a RESTfull WCF service over a secured connection(HTTPS) with a self signed certificate. The WCF service returns XML which is parsed within the app. I have signed the certificate with SelfSSL and installed in on a Windows Server 2003 machine(IIS 6.0). An example of a ...

Problem in the connection string of Microsof SQL Server 2005 !

Hi, I have MSSQLServer 2005 installed on my machine. I am creating a connection string like this: String sqlConnectionString= user id=admin; password=admin; server=MachineName\MSSQLSERVER; Trusted_Connection=no; database=MYDataBase; connection timeout=30 When I do: myConnection = new SqlConnection(sqlConnectionString); myConnection.O...

System.AccessViolationException when calling DLL from WCF on IIS.

Hi guys. I've created just a test WCF service in which I need to call an external DLL. Everything works fine under Visutal Studio development server. However, when I try to use my service on IIS I am getting this error: Exception: System.AccessViolationException Message: Attempted to read or write protected memory. This is ...

WCF client (Add Service Reference) hates WebGet and WebInvoke...really, it does

I have been working to create WCF services that will operate independent of .Net clients. Thanks to Google and StackOverflow, I have been able to create both simple xml and json services without Soap wrappers and a bunch of fancy WCF stuff that I just don't need. It has been a painful experience, hence the subject line of this question...

C# - WCF - inter-process communication

What is the best WCF binding to use for inter-process communication? I have used WCF over local networks and it is amazing, and I'd like to use it for inter-process communication as well. I do not want to expose the communication over the network, however. ...

Passing proxy object as asyncState in WCF

I have a WCF client (C#) which is communicating with a WCF server. This clients are doing calls asynchronously. I'm wondering whether the following is a good or bad idea: When calling the asynchronous operation from my WCF client, I set the object asyncState variable to the proxy object. In my callback function, I extract the proxy obje...

List of Shapes to Database

I have a generic collection of shapes that I need to pass through WCF to store in a database for future/shared use. Unfortunately, the System.Windows.Shapes are all sealed, so I can't inherit them and make a serializable copy of them. I "could" write my own custom set of serializable shapes, as I have written 3 custom shapes for my app a...

Flash connecting to a WCF service

Hi, I would like ask for guidance on the proper endpoint configuration for my WCF service to enable a Flash app to consume it. Thanks, Keith Rull ...

Reading from ServiceReferences.ClientConfig in WCF in Silverlight 3 in a dynamically loaded .xap file

I'm using Silverlight 3 Prism (CAB) with WCF When I call a WCF service in a Prism module, I get the same error: "Could not find default endpoint element that references contract 'IMyService' in the service model client configuaration section. This might be because no configuaration file was found for your application or because no end ...

Using WCF to self-host a service without IIS over the public Internet

Please forgive my limited knowledge of WCF, but I hope my inexperience with this platform simply means that my idea can be implemented and I just haven't learned out how to do it. In the simpliest terms, I'd like to write two apps, one running as the master (service) and the other running the client. The catch is, the master service ap...

What is reponse.d when returning data from a WCF Service with ContentType of "application/json"?

I have a WCF service that has webHttpBinding and has enableWebScript turned on in it's endpoint behavior configuration. The response from the service looks something like this HTTP/1.1 200 OK Date: Fri, 23 Oct 2009 20:09:02 GMT Server: Microsoft-IIS/6.0 X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: application/jso...

WCF service queries

I have a WCF service and methods are exposed as below: public interface IService { [OperationContract] bool Read(); [OperationContract] bool Write(); } public class MyService : IService { //Constructor MyService() { //Initialization } public bool Read() { //Definition } pu...

is there a documentation tool for wcf service?

Hi, I have used svcutil.exe to generate the service definition for a service that I am using. I want to produce an electronic document/help file from this output. are there ny tools for doing this? All I need to produce is simply the properties and methods of the objects exposed by the service thanks EDIT: I need to clarify that th...

How to understand if a request made to WCF?

Is there any event which allows me to get informed when a client accesses any of the listening WCF service methods ? ...

HTTP Error 500.19 Internal Server Error

I created and deployed a pretty simple WCF Service. but when accessing it from IE, I get this : HTTP Error 500.19 - Internal Server Error Description: The requested page cannot be accessed because the related configuration data for the page is invalid. Error Code: 0x80070005 Notification: BeginRequest Module: IIS Web Core Req...

WCF for local and network mode application - plus question about .NET Client Profile

I'm building a WinForms application where I'll need it to work "locally" (just like Microsoft Word, saving and opening files from the file system) and also in a multi-user environment (communicating with a server in the network, via TCP/IP). In terms of architecture I'm thinking of these logical layers: Presentation (windows forms) Se...

WCF (WCF-Binding) in/with C/C++

Is thare any like WCF libs (OpenSourse) written in C\C++? Or at least some kined of special WCF C++ services (NOT ON Basic HTTP Binding)? ...

BadImageFormatException IIS hosted WCF service Win7 x86, VS2010b2

Hi My system is Windows 7 Ultimate 32 bit. Running Visual Studio 2010 beta 2 targeting .Net 4. I have a project containing service contracts. A project containing the services. And an ASP.NET Web Application that is hosting the services in IIS. I've written my own Clients using the ChannelFactory().CreateChannel()... Whenever I run m...

Programmatically start an asp.net integrated webserver with visual studio files

Hello. I'm not sure what keywords to google for, so i'm gonna ask SO. I have an asp.net website which host a database, wcf dll and silverlight application. I would like to create an .exe file to automatically run an integrated webserver with the application root being the project folder of where my asp.net files are. Basically what I ...

How to play MP3 streams which are received by Silverlight from WCF?

How to play MP3 streams in silverlight 3? (streams which are received by Silverlight from WCF) ...