Posting to a web server without installing IIS

  • Thread starter Thread starter William
  • Start date Start date
W

William

I have an XML file that I need to post (request/response) that is created on
the fly using data from a mainframe. Will I need to install IIS in order to
do this or can it be done without installing IIS? If I can do this without
IIS, what classes should I be looking at? (A source for examples would be
great)
 
William,

IIS is used for serving up responses to requests from web clients.

If you want to post a request to a web server, you do not need IIS
installed. All you need to do is use the HttpWebRequest and HttpWebResponse
classes in the System.Net namespace.

Hope this helps.
 
Is this preferrable over WebClient?

Nicholas Paldino said:
William,

IIS is used for serving up responses to requests from web clients.

If you want to post a request to a web server, you do not need IIS
installed. All you need to do is use the HttpWebRequest and
HttpWebResponse classes in the System.Net namespace.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

William said:
I have an XML file that I need to post (request/response) that is created
on the fly using data from a mainframe. Will I need to install IIS in
order to do this or can it be done without installing IIS? If I can do
this without IIS, what classes should I be looking at? (A source for
examples would be great)
 

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

Back
Top