Click here to Skip to main content
15,881,867 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
i have created an application using a WCF service. i am a newbie in programming.
i need help to consume that service on other machine. how do i do it ??
Posted

Remote desktop application is unrelated to WCF, because it uses its own protocol, RDP:
http://en.wikipedia.org/wiki/Remote_Desktop_Protocol[^],
http://en.wikipedia.org/wiki/Remote_Desktop_Services[^].

You can find good samples of the client on CodeProject:
Remote Desktop using C#.NET[^],
Palantir - Remote Desktop Manager[^] (this one, being not perfectly complete, is my favorite: in the past, when Microsoft client failed to cope with some situation, this product saved me).

Of course, you need to go this way only if you want to use available Remote Desktop service on remote computers. This makes a whole lot of sense, because the service, in contrast to client application, may seriously depend on the version of the OS. Nevertheless, if you really decidedly want to work with WCF, chances are, you would need to develop your own, alternative service. If you decide to do so, it could be the Windows Service:
http://en.wikipedia.org/wiki/Windows_service[^],
http://msdn.microsoft.com/en-us/library/zt39148a.aspx[^].

In this approach, the problem will be the access to a desktop local to the service. As to WCF, you can use it as self-hosted by the Windows Service application:
http://msdn.microsoft.com/en-us/library/ee939340.aspx[^].

I would strongly recommend you not to go in this difficult way, where the future of your product hardly can be secure. I would advise to keep to RDP and client part of the software.

—SA
 
Share this answer
 
v2
 
Share this answer
 
Comments
raul313 25-Jul-13 1:46am    
also i wanted to know that where should i host my wcf service
1) Hosting in IIS6
2) self hosting
or any other options ???

basically i am trying to learn WCF. so i have created an service of an calculator.
so i want that calculator to be utilised by another machince
ArunRajendra 25-Jul-13 2:15am    
Your hosting depends on your requirment. Since you mentioned that you learning WCF I would suggest you to deploy it on IIS. Later you can try self hosting.
i want to consume that service on another machine not on the same machine where my service is located
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900