I need guidance in creating my first C # project
Hi I'm a PHP developer and I have some experience with Java. I am trying to learn C # and my first project will be a program that starts a timer on a PC by clicking a button on another PC on the network. The problem is I don't know where to start? What do I need to read? The OS for both PCs is Windows XP, so they are desktop applications. I would appreciate any help from you C # guru. I hope my start as a C # programmer will be successful. Thanks!
a source to share
For the communication channel, you should be using WCF - here is an article showing how a simple client / server is written.
In terms of UI for these - you can use winforms or WPF . WPF is the future, but winforms is easier to handle. There is a Microsoft website dedicated to both of these.
There are several timer classes in the framework - see this article for a comparison.
a source to share
If you are using .NET 3+ then WCF is generally recommended. It's basically a merge of remote .NET objects, web services, etc. One library.
Edit: Sorry, my answer was based on Midhat's answer. Oded gave better guidance since he actually read the question! WCF is what you could use to communicate from one application to another. In your scenario, you can configure WCF as a TCP / IP server / client.
a source to share
You need .Net remoting http://www.beansoftware.com/net-tutorials/net-remoting-tutorial.aspx
a source to share