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

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.
 
M

Marc Gravell

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top