how to create desktop applications in c# using http requests and http response with iis

C# can make http/https requests - have a bit of a read and searching on google, with such a generic question no one can give you specifics.

my question is a bit abstract but I need any links or reference so that I can do r&d accordingly

Thats why people invented google.

Here is a sample snippet of the code I use to post bug reports from my applications:

public static void PostRpt(string msg)
    {
      WebRequest post = WebRequest.Create(@"http://www.apexsoftware.com/");
      post.Method = "POST";
      post.ContentType = "application/x-www-form-urlencoded";
      using (Stream dataStream = post.GetRequestStream())
      {
        System.Text.ASCIIEncoding encoding = new System.Text.ASCIIEncoding();
        Byte[] bytes = encoding.GetBytes(msg);
        dataStream.Write(bytes, 0, bytes.Length);
        dataStream.Close();
        dataStream.Dispose();
        WebResponse response = post.GetResponse();
        response.Close();
      }
    }
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.