Click here to Skip to main content
15,894,646 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have been trying for a few days to get something working but have had no success so I have got to the the point where I want to ask someone directly. I am trying to make an application that has a central server/responder on a computer that has the data I need and a client on another computer that will send a code over to the server which will then be deciphered by the server which will then send the required data back to the client. There will be multiple clients accessing the one server and it only needs to send quite small strings (the longest probably being image data)

ClientA ------------01005------------/Server\
ClientB ------------01003----------- | Server |- Return to whichever client sent request
ClientC ------------03007----------- \Server/

Each 'user' will have an ID that is sent in the request which will be formed like this:
<user[code]>
<CodeProject[01005]>

Could someone please write me a bit of code using WCF to help me accomplish this? All it needs to do is have a client that can be used multiple times and a single server as a console application. Simple back and forth strings basically. I know it is a bit of a big ask but I can't find anything that will work. Thank you so much!
Posted
Updated 24-Nov-13 11:27am
v2
Comments
Sergey Alexandrovich Kryukov 24-Nov-13 17:27pm    
http://whathaveyoutried.com so far? Did you try to find something? Any questions?
—SA

1 solution

You can find some introduction with simplest code sample in many places, but why not looking at MSDN documentation first? You can start, say, here: http://msdn.microsoft.com/en-us/library/dd936243.aspx[^].

A complete demo sample is available.

—SA
 
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