Click here to Skip to main content
15,031,937 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
In my project I have created an application in windows using C#.
In the application I want to connect to my web server (or domain) and send a request to it,
and then in my web server I want to create a page or a web application to answer the request !

For example I want to send a request like 'Name?' from my windows application,
then I should be able to get the request text in my web server ( and answer properly. (e.g. 'jack').

How should I do this !?
should I use chat server? (if so, isn't there any easiest way?)
Any other Idea?

Thanks in advanced.

1 solution

Take a look at How to use HttpWebRequest and HttpWebResponse in .NET[^] for samples on how to do this.

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