.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

communication from one WINDOWS EXE to another in wcf [simple]

Posted By:      Posted Date: September 10, 2010    Points: 0   Category :WCF
hi,   So what I need to make is a "remote control" program(exe) that should be able to turn on or off an another program(exe) running on computers connected by a network. I've done something similar with remoting, now I head WCF is the new remoting. But everything seems all web services and windows services and complicated IIS hosting and what not! I just need communication between two windows forms programs! I haven't been able to find ANYTHING at all on this! One windows forms program needs to turn the other one or off over a LAN network. thats all. Would really appreciate any links or pointers.  Thanks so much    

View Complete Post

More Related Resource Links

Getting Started with Windows Communication Foundation

Windows Communication Foundation (WCF) provides a unified framework for rapidly building service-oriented applications that makes it easy to build and consume secure, reliable, and transacted Web services. It unifies the capabilities in ASMX, WSE, Remoting, COM+, and MSMQ; therefore developers need to learn only one programming model.

Contract-First Web Services: Schema-based Development with Windows Communication Foundation


Schema- first contract-first modeling of Web Services gives you the ability to model your contracts with an XML-centric mindset. This process keeps you focused on universally acceptable types and the hierarchical data structures that can be represented in XML.

Christian Weyer, Buddhike de Silva

MSDN Magazine October 2009

Peer To Peer: Harness The Power Of P2P Communication In Windows Vista And WCF


P2P applications face a number of barriers preventing their wide adoption as a productivity solution. Fortunately Windows Vista improves the situation, as you'll learn here.

Justin Smith

MSDN Magazine October 2006

Service Station: Serialization in Windows Communication Foundation


Windows Communication Foundation supports several serialization mechanisms and provides a simple, interoperable foundation for future service-oriented applications. Here Aaron Skonnard explains it all.

Aaron Skonnard

MSDN Magazine August 2006

Security Briefs: Security in Windows Communication Foundation


Windows Communication Foundation provides three major protections- confidentiality, integrity, and authentication. This month Keith Brown explains what they can do for you.

Keith Brown

MSDN Magazine August 2006

Distributed .NET: Learn The ABCs Of Programming Windows Communication Foundation


Windows Communication Foundation unifies the existing suite of .NET distributed technologies into a single programming model to improve the developer experience. This article introduces WCF so you'll be prepared to take advantage of all the new capabilities.

Aaron Skonnard

MSDN Magazine February 2006

Windows UI: Our WinMgr Sample Makes Custom Window Sizing Simple


Programmers using Visual Basic have always had an advantage over C++ programmers when it comes to component and window sizing. There are many third-party Visual Basic-based solutions to this age-old problem, but unfortunately, there are few elegant alternatives for the C++ crowd, short of using a full-fledged windowing toolkit. This article explains how to circumvent the tedious task of hardcoded pixel arithmetic. It starts by introducing a window sizing rules system, and then moves on to show how CWinMgr, a data-driven class, can intelligently manage an MFC application's window sizing.

Paul DiLascia

MSDN Magazine July 2001

WinInet: Enable HTTP Communication in Windows-Based Client Applications


The Internet provides the infrastructure for applications to communicate, and that can include non-UI communication between Win32-based applications. If you think beyond the standard browser usage of HTTP, you can use this protocol to retrieve information from Win32-based applications and save it to a Web server. After explaining how HTTP can be used in this way, this article shows how to use Microsoft SQL Server, ASP, IIS, WinInet, and Visual Basic to implement two examples. The first reports usage data-how often an application is used and by whom. The second monitors application errors and reports error details for use by helpdesk staff or engineers in the debugging process.

Todd Meister

MSDN Magazine June 2001

How to setup windows server 2008 to enable socket communication?

I wrote a simple socket program, which listens to the 82 port, then receives and sends data through it. I tested the program on my local machine and it works fine, but after I published the program onto my windows server 2008, it does not work anymore. I guess it should be the firewall causing the problem, so I added rules to allow 82 port for both in and out bound, and I also add my application to the allowed program list for passing firewall, but still doesn't work, how could I solve it?   The windows server 2008 machine has a public network IP address, while my workstation is in a local network without public IP address, I connect to server 2008 through a router which has a public IP address. Is that the problem?   thanks! Regards! directfriends.net

accessing MSSQLServer on Windows with Simple File Sharing

I am running MS SQL Server Developer Ed. on Windows XP SP3 in workgroup(non-domained). Having read  in [1]: "NTLM Authentication: Challenge- Response mechanism. In the NTLM protocol, the client sends the user name to the server; the server generates and sends a challenge to the client; the client encrypts that challenge using the user’s password; and the client sends a response to the server.If it is a local user account, server validate user's response by looking into the Security Account Manager; if domain user account, server forward the response to domain controller for validating and retrive group policy of the user account, then construct an access token and establish a session for the use." I could not understand: What happens in the case of "Use Simple File Sharing (Recommended)" (Windows Explorer --> Tools --> Folder Options --> View --> Use Simple File Sharing-->)? IS server validate Windows user accounts with passwords in "Windows Authentication" mode? In other words, is there need to create user accounts for accessing server? I have never used simple file sharing before... PS. Is this mode available on server editions of Windowses? [1] Understanding Kerberos and NTLM authentication in SQL Server Connections http://blogs.msdn.com/b/sql_protocols/archive/2006/12/02/understanding-kerberos-and-nt

Wrox-Professional WCF 4-Windows Communication Foundation with .NET 4

Couple of weeks ago I got a paper copy of book Pablo Cibraro, Kurt Claeys, Fabio Cozzolino, Johann Grabner - Professional WCF 4: Windows Communication Foundation with .NET 4. This book has not a lot of pages, just about 400. Really, I don't remember when I saw so thin book about some technology. But maybe this book has not a lot pages, but a lot of interesting themes. First chapter is patterns and principles of SOA applications. This is the best chapter in this book. When I was reading this chapter I saw that authors have a lot experience of creating applications with Service-oriented architecture. Authors described all possible architecture principles, with which you can create SOA applications. And they did not limit themselves to the principles that are possible with WCF. I think that this chapter is "must read" for all developers, it is doesn't matter what technologies you are using: php, java or .net. And this is good luck that Wrox published this chapter online: Design Principles and Patterns. It is about 30 pages, so read it right now. Read more...

New to Windows Communication Foundation? - useful links

WCF - http://msdn.microsoft.com/en-us/netframework/aa663324.aspx (.net Framework Developer center, central resource for all things WCF) WCF 3.5 samples - http://msdn.microsoft.com/en-us/library/ms751514.aspx WCF 4.0 samples - http://msdn.microsoft.com/library/dd483346(VS.100).aspx (good resource to learn the basics by playing with samples) WCF screencasts - http://msdn.microsoft.com/en-us/netframework/wcf-screencasts.aspx .Net endpoint blog - http://blogs.msdn.com/endpoint/ (Blog by the .NET and AppFabric teams about WCF and WF development, deployment, and management) Bug report/ Feature request/ Feedback to the product team - https://connect.microsoft.com/wcf (There are useful resources mentioned at the bottom of this page as well) Detailed WCF security guidance - http://www.codeplex.com/WCFSecurity Detailed debugging using WCF tracing - http://msdn.microsoft.com/en-us/library/ms733025.aspx

Microsoft.NET version 3.0 Install Error: Installation failed for Windows Communication Foundation. M

Please help! I've been trying for the last day and a half to properly install Microsoft.NET version 3.5 so that I can install TurboTax and do my taxes. I was only on version 1.1. Multiple tries to upgrade to 3.5 was giving me a code 1603 error on install on "Microsoft.NET version 2.0a". I followed advice from forums here and elsewhere to uninstall and reinstall my prior versions. I also used Windows Install Cleanup before reinstalling. I keep getting to the same result when I try to go from version 2.0 to version 3.5. In my last attempt, I went all the way back to version 1.0 and installed each step up to 2.0 SP1 with (allegedly) no problems. This last time I decided to upgrade to 3.0 instead of going right to 3.5. Now I get the following error message: [04/03/10,04:07:14] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603[04/03/10,04:07:22] WapUI: [2] DepCheck indicates Windows Communication Foundation is not installed.[04/03/10,04:07:22] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 was not attempted to be installed.[04/03/10,04:17:49] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603[04/03/10,04:17:57] WapUI: [2] DepCheck indicates Windows Communication Foundati

Windows Communication Foundation Step By Step

Hi all i'will begin to get in WCF Step By Step . please follow me in this case thanks  

Communication between 2 WPF windows using TCP Endpoint


I want to first of all apologize because i am totally new with using WCF.

What im trying to do is have 2 WPF windows send objects or whatever back and fourth.

What I have now is a client that has a service reference to my Service Library using TCP

 <endpoint address="net.tcp://localhost:8888/VTService/EvalService"


I also created a host, because this we tutorial told me to, and this host is simply

ServiceHost host = new ServiceHost(typeof(EvalService));


      Console.WriteLine("Eval Service is up and running with the following endpoints.\n");
      foreach (ServiceEndpoint se in host.Description.Endpoints)


With my host running in the background and my client running i can send and receive evals with no problem. Even if i open up 2 of the WPF client i get the messages on both ends. So basically communication is great on the same machine.


I was wondering how to get another machine over the internet to see these

asp.net application to windows application communication


Hello All,

What are the different ways in which a web application can communicate to a windows application?

I have heard that activex control events can be handled in javascript to achieve this.

Does WCF or any new technology provide a better implementation for this?

Can the publish/subscribe architecture be used here?

Please help with your suggestions.


The installed version of Windows Communication Foundation does not match the version of the WSAT con


I  got this error after I installed the wsatui.dll for WCF Transaction.

The installed version of Windows Communication Foundation does not match the version of the WSAT configuration tool

anyone who can help me?

Thanks advanced

Frank Xu Lei--????,????
Focus on Distributed Applications Development and EAI based on .NET




ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend