Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Greetings,

I need help about how to develop a client server based application. The client would be able to send a text to the server.The server would do some processing and API calls and then return the text back to the client. What would be a good way to achieve this? Do any asynchronous solutions exist for this in .NET ( like Tornado for Python) so that the UI doesn't get hung up and the client can still function.

Thanks and Regards.
Posted
Comments
Ravi Bhavnani 10-Feb-15 14:11pm    
You have several options.  For starters, see this list of articles.

/ravi
Sergey Alexandrovich Kryukov 10-Feb-15 17:36pm    
You are talking about nothing — almost. "Client-server application" is extremely wide class of application, so it's hard to see what kind of help you may need. (And yet, client-server model is extremely limiting, not fitting many application needs.)
—SA

There are several options but depend on the requirements of your project.
1. TcpListener and TcpClient
2. At lower level Client Socket and Server Socket
3. Web Service and SOAP client with method stubs generated by wsdl tool from Visual Studio
4. WCF
5. Windows Service with IP and port number and Client sends requests and waits for responses.
6. Make it a web application with Web Page interface. The page in the browser is then the Client.
 
Share this answer
 
 
Share this answer
 
v2

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