How to write client-Server programming using Web request and web response

  • Thread starter Thread starter deepthy_raj
  • Start date Start date
D

deepthy_raj

How to write client-Server programming using Web request and web
response.I want to send
a request to server by giving url and my server will pick up that url
and will give a response to client .Please give cooding.
 
Please give cooding.

Well, that depends on how you want to do it! At the server, for
instance, coding an ASP.NET web-service (asmx) will be very different
to coding an ASP.NET handler (ashx). Alternatively, you could code
outside of ASP.NET using HttpListener, or you could start from scratch
using sockets.

The client is a little easier; main options are WebClient and
HttpWebRequest; both have methods to make requests to the server and
read the response; WebClient is a little easier to use; HttpWebRequest
is more versatile.

Marc
 
Back
Top