custom web server

D

Danny

Can anyone point me in the right direction to create a simple web server? I
need to create a simple application that receives a HTTP GET request with
parameters and returns back an XML string. Does the 2.0 framework have any
components already created for this or do I need to build it using raw
sockets?



thanks
dan
 
J

Joerg Jooss

Thus wrote Danny,
Can anyone point me in the right direction to create a simple web
server? I need to create a simple application that receives a HTTP
GET request with parameters and returns back an XML string. Does the
2.0 framework have any components already created for this or do I
need to build it using raw sockets?

Have a look at System.Net.HttpListener. See http://msdn2.microsoft.com/en-us/library/system.net.httplistener.aspx
for details.

Cheers,
 

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